Hi Karl-Heinz,

yes it is related. To stay compatible you should avoid asking for the RepositorySession.
For the Maven site Plugin it was solved with the Maven-Reporting-Exec[1]
The related code is in the DefaultMavenPluginManagerHelper[2]
Makes me wonder is this should be moved...

Robert

[1] http://maven.apache.org/shared/maven-reporting-exec
[2] http://maven.apache.org/shared/maven-reporting-exec/xref/org/apache/maven/reporting/exec/DefaultMavenPluginManagerHelper.html


Op Wed, 03 Jul 2013 22:44:40 +0200 schreef Karl Heinz Marbaise <[email protected]>:

Hi to the developers,

currently I'm trying to build my plugin with the announced Maven 3.1 release...which produces the following problem in my integration tests:

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal com.soebes.maven.plugins:iterator-maven-plugin:0.1.1-SNAPSHOT:executor failed: An API incompatibility was encountered while executing com.soebes.maven.plugins:iterator-maven-plugin:0.1.1-SNAPSHOT:executor: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;


Is this related the follwing information: https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound

If so can someone give me hint what would solve the problem ?
I've searched through the sources/JIRA tickets etc. of the different plugins but only found a dependency like this:

     <dependency>
       <groupId>org.eclipse.aether</groupId>
       <artifactId>aether-util</artifactId>
       <version>0.9.0.M2</version>
     </dependency>

but that seemed to be not the cause...or do i mistaken or oversight something ?


Many thanks in advance.
Kind regards
Karl-Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to