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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.