Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple blueprints all look the same

Cris Kinross November 11, 2018

Here's what works:

  • upload jar file for blueprint (A)
  • everything works
  • uninstall jar for blueprint (A)
  • upload jar file for blueprint (B)
  • everything works

 

Here's the challenge:

  • upload jar file for blueprint (A)
  • upload jar file for blueprint (B)
  • the "create" screens 2 copies of (B)
    • (A) has disappeared is now represented as (B)

It doesn't seem to matter if (A) or (B) is loaded first. Either way, two copies of the second app appear in the create window.

 

Any idea on which tag(s) is causing the problem?

Upon inspection, the atlassian-plugin.xml files appear different.

What am I missing?

 

Thanks,

Cris

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2018

Hello Cris,

Working with blueprints can be challenging at times. It seems you have already made good progress with importing a single blueprint. Your duplicating blueprint issue might be caused by matching common descriptors within your atlassian-plugin.xml file.

For each blueprint you will want to add unique common descriptors or append additional. We do see you stated the xml files appear to be different, with that said can you paste just the common descriptors of both files?

We look forward to your response so we can get your imported blueprints working as desired!

Regards,
Stephen Sifers

Cris Kinross November 13, 2018

Hi Stephen,

Thanks for the offer of help. I'm not sure which tags fall under the category of 'common descriptors' and so the first 2 sections for each blueprint are shown below.

Are these the descriptors which you had in mind?

Thanks,

Cris

"Blueprint A"

<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/product_management_tools_logo.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
<param name="atlassian-licensing-enabled">true</param>
<param name="vendor-icon">images/vendorIcon.png</param>
<param name="vendor-logo">images/vendorLogo.pdf</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="product_management"/>
<resource type="download" name="images/" location="images">
<description>Image resource</description>
<param name="content-type" value="image/png"/>
</resource>

"Blueprint B"

<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/marketing_tools_logo.jpg</param>
<param name="plugin-logo">images/pluginLogo.jpg</param>
<param name="atlassian-licensing-enabled">true</param>
<param name="vendor-icon">images/vendorIcon.jpg</param>
<param name="vendor-logo">images/vendorLogo.jpg</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="marketing_tools"/>
<resource type="download" name="images/" location="images">
<description>Image resource</description>
<param name="content-type" value="image/jpg"/>
</resource>

Cris Kinross November 25, 2018

The Group ID and Artifact ID are different in the POM files.

"Blueprint A"

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.plugins.confluence.product_management</groupId>
<artifactId>product_management</artifactId>
<version>1.0.5</version>

 

"Blueprint B"

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.plugins.confluence.marketing_tools</groupId>
<artifactId>marketing_tools</artifactId>
<version>1.0.0</version>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events