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

Project build error: Unknown packaging: atlassian-plugin

Mrityunjay Kumar May 26, 2015

1)hi, I am facing the below error pom file of my custom plugin.

Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-jira-plugin:3.11 or one of its dependencies could not be resolved

 how to resolve this dependency?

2)for the second custom plugin "import com.atlassian.jira.ComponentManager;" & other atlassian.jira. dependencies are not resolved. from where to get these libraries?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Ignat
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 2, 2017

Hi,


To resolve the error Unknown packaging: atlassian-plugin the AMPS plug-in has to be added to pom.xml.
See the following code snipped:

<build>
        <plugins>
        
           <!-- AMPS plug-in-->
           <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-amps-plugin</artifactId>
                <version>6.2.1</version>
            </plugin>
        </plugins>
    </build>

 

Cheers,
Ignat.

1 vote
Volodymyr Krupach
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.
May 26, 2015

As I understand yo get these errors in elcipse. In this case you need to run:

atlas-mvn eclipse:eclipse

and then refresh your project.

You can build and run your plugin ignoring the errors by running appropriate atlas-maven commands: https://developer.atlassian.com/docs/developer-tools/working-with-the-sdk/command-reference

TAGS
AUG Leaders

Atlassian Community Events