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