Error while using "atlas-package"

Aditya Amgaonkar April 13, 2015

Getting the below error while using "atlas-package" command.

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-plugin:4.2.0:copy-bundled-dependencies (default-copy-bundled-dependencies) on project cpji-jira-plug

in: Execution default-copy-bundled-dependencies of goal com.atlassian.maven.plugins:maven-amps-plugin:4.2.0:copy-bundled-dependencies failed: An API incompatibility was e

ncountered while executing com.atlassian.maven.plugins:maven-amps-plugin:4.2.0:copy-bundled-dependencies: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSes

sion.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;

Thanks.

1 answer

0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 13, 2015

This happens when you are trying to use Atlassian Plugin SDK 4.x with Maven 3.x.  Plugin SDK 4 requires Maven 2.  Either upgrade to Atlassian Plugin SDK 5.x, or downgrade to Maven 2.x

 

Suggest an answer

Log in or Sign up to answer