Here's what works:
Here's the challenge:
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
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
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.