Hi,
I'm trying to integrate our Bamboo server with veracode for pushing our binaries to the veracode and scan for vulnerabilities in the Source code.
https://github.com/buildcom/VeracodeAtlassianPlugin.git
I'm trying to build the plugin on my local machine using Maven & Ailassian SDK Kit.
Please find the error which i'm facing due to API incompatability.
Failed to execute goal com.atlassian.maven.plugins:maven-bamboo-plugin:4.1.4:copy-bundled-dependencies (default-copy-bundled-dependencies) on project VeracodePlugin: Execution default-copy-bundled-dependencies of goal com.atlassian.maven.plugins:maven-bamboo-plugin:4.1.4:copy-bundled-dependencies failed: An API incompatibility was encountered while executing com.atlassian.maven.plugins:maven-bamboo-plugin:4.1.4:copy-bundled-dependencies: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
Community moderators have prevented the ability to post new answers.
amps.version in pom.xml should match the atlassian-plugin-sdk version. The current version is 5.0.2.
Change the amps version to the below in pom.xml
<properties>
<bamboo.version>4.2.2</bamboo.version>
<bamboo.data.version>3.2.2</bamboo.data.version>
<amps.version>5.0.13</amps.version>
</properties>
Also don't use Java 8 for compilation. Leverage JDK 7 and below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.