Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unknown packaging: atlassian-plugin Eclipse Error

Moein Almasi April 20, 2014

Hi,

I am building JIRA plugin and I get following error in eclipse, if I proceed to remove this error from problems I can build the project but how can I add dependencies for atlassian-plugin packaging?

Following is my pom.xml build section:

<build>

<plugins>

<plugin>

<artifactId>maven-compiler-plugin</artifactId>

<configuration>

<source>1.6</source>

<target>1.6</target>

</configuration>

</plugin>

<plugin>

<groupId>com.atlassian.maven.plugins</groupId>

<artifactId>maven-jira-plugin</artifactId>

<version>3.0.6</version>

<configuration>

<productVersion>6.2.1</productVersion>

<productDataVersion>6.2.1</productDataVersion>

</configuration>

</plugin>

<plugin>

<groupId>com.atlassian.maven.plugins</groupId>

<artifactId>maven-amps-plugin</artifactId>

<version>3.0.6</version>

</plugin>

</plugins>

</build>

Thank you!

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Moein Almasi April 20, 2014

Yep you are right but when try to run atlas-run command it shows build failure error, anyway I managed to fix it taking following steps:

1 - adding <extensions>true</extensions> in maven-jira-plugin and maven-amps-plugin then

2 - ignoring from m2e lifecycle
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-amps-plugin</artifactId>
<versionRange>[3.0.6,)</versionRange>
<goals>
<goal>copy-bundled-dependencies</goal>
<goal>filter-plugin-descriptor</goal>
<goal>generate-manifest</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
It does not show any error now and build perfectly fine. Btw thanks for your reply
Ismael Bandjy June 15, 2017

Thanks a lot, the point #2 is what helped me the most.

1 vote
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2014

I don't understand what is the problem here. You can ignore this error from the Eclipse Preferences (as offered by the QuickFix dialog) and continue working with the project without any problems. This error is produced as the Eclipse maven plugin (m2e) does not understand this kind of packaging, but that's not a problem at all.

Do you have any specific problem caused by that error ?

TAGS
AUG Leaders

Atlassian Community Events