java.lang.NoClassDefFoundError: org/sonatype/aether/* Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.*
This error is caused by Maven 3.1-alpha-1 migration from Sonatype Aether to Eclipse Aether (MNG-5354), which is an incompatible change for some plugins.
To support this change, new versions of the affected plugins have been published which work both with Maven 3.0.x and 3.1.x:
groupId | artifactId | affected goal | Plugin Name | Compatible Version | Related Issues |
---|---|---|---|---|---|
org.apache.maven.plugins | maven-dependency-plugin | tree | 2.8 | ||
org.apache.maven.plugins | maven-enforcer-plugin |
| 1.3 |
| |
org.apache.maven.plugins | maven-project-info-reports-plugin | dependencies | 2.7 | ||
org.apache.maven.plugins | maven-shade-plugin | shade | 2.1 | ||
org.apache.maven.plugins | maven-site-plugin | site | 3.3 | ||
org.codehaus.mojo | jaxws-maven-plugin | JAX-WS Maven Plugin (at MojoHaus) | 2.4 | #2 | |
org.codehaus.mojo | nbm-maven-plugin |
| 3.11 | ||
org.codehaus.mojo | sonar-maven-plugin | sonar | 2.1 | ||
|
| 0.18.1 | |||
com.google.appengine | appengine-maven-plugin |
| 1.8.3 (Maven 3.1.x required) | ||
org.twdata.maven | mojo-executor |
| 2.1.0 | ||
com.jayway.maven.plugins.android.generation2 | android-maven-plugin |
| 3.8.0 | #395 |
The following plugins are not yet known to be compatible:
groupId | artifactId | affected goal | Plugin Name | Tracking Issues |
---|---|---|---|---|
de.saumya.mojo | gem-maven-plugin | all | Gem Maven Plugin (and others) | |
com.github | github-site-plugin | site | GitHub Maven Plugins | |
com.github.goldin | copy-maven-plugin | copy | ||
org.jvnet.jax-ws-commons | jaxws-maven-plugin | JAX-WS Maven Plugin (at jax-ws-commons) | JAX_WS_COMMONS-127 |
1 Comment
Sergei Egorov
org.sonatype.flexmojos:flexmojos-maven-plugin:5.0-beta doesn't work.