Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The maven-release pom calls for plexus utils 3.0.10. This is considerably older than the version included with Maven 3.2.5; in any case, it seems to be the cause of the following explosion in mvn release:prepare, where, somehow, that old plexus utils beats out the newer one in the dependency graph, and a required class goes missing. To repro this, pretend to repeat the release process for maven-plugins version 28.
mvn release:prepare with 3.2.5 ➜ maven-plugins mvn release:prepare [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven Plugins 28-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.5.2:prepare (default-cli) @ maven-plugins --- [INFO] Verifying that there are no local modifications... [INFO] ignoring changes on: **/pom.xml.backup, **/release.properties, **/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup, **/pom.xml.tag [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.163 s [INFO] Finished at: 2015-10-10T20:18:26-04:00 [INFO] Final Memory: 18M/310M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project maven-plugins: Execution default-cli of goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare failed: A required class was missing while executing org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare: org/codehaus/plexus/util/xml/pull/EntityReplacementMap [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.apache.maven.plugins:maven-release-plugin:2.5.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/Users/benson/.m2/repository/org/apache/maven/plugins/maven-release-plugin/2.5.2/maven-release-plugin-2.5.2.jar [ERROR] urls[1] = file:/Users/benson/.m2/repository/org/apache/maven/release/maven-release-manager/2.5.2/maven-release-manager-2.5.2.jar [ERROR] urls[2] = file:/Users/benson/.m2/repository/org/apache/maven/release/maven-release-api/2.5.2/maven-release-api-2.5.2.jar [ERROR] urls[3] = file:/Users/benson/.m2/repository/org/eclipse/aether/aether-util/1.0.0.v20140518/aether-util-1.0.0.v20140518.jar [ERROR] urls[4] = file:/Users/benson/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[5] = file:/Users/benson/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar [ERROR] urls[6] = file:/Users/benson/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar [ERROR] urls[7] = file:/Users/benson/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar [ERROR] urls[8] = file:/Users/benson/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar [ERROR] urls[9] = file:/Users/benson/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar [ERROR] urls[10] = file:/Users/benson/.m2/repository/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.jar [ERROR] urls[11] = file:/Users/benson/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar [ERROR] urls[12] = file:/Users/benson/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar [ERROR] urls[13] = file:/Users/benson/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar [ERROR] urls[14] = file:/Users/benson/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar [ERROR] urls[15] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-providers-standard/1.9.4/maven-scm-providers-standard-1.9.4.pom [ERROR] urls[16] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-accurev/1.9.4/maven-scm-provider-accurev-1.9.4.jar [ERROR] urls[17] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-bazaar/1.9.4/maven-scm-provider-bazaar-1.9.4.jar [ERROR] urls[18] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-clearcase/1.9.4/maven-scm-provider-clearcase-1.9.4.jar [ERROR] urls[19] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9.4/maven-scm-provider-cvsexe-1.9.4.jar [ERROR] urls[20] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.9.4/maven-scm-provider-cvs-commons-1.9.4.jar [ERROR] urls[21] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsjava/1.9.4/maven-scm-provider-cvsjava-1.9.4.jar [ERROR] urls[22] = file:/Users/benson/.m2/repository/org/netbeans/lib/cvsclient/20060125/cvsclient-20060125.jar [ERROR] urls[23] = file:/Users/benson/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar [ERROR] urls[24] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-gitexe/1.9.4/maven-scm-provider-gitexe-1.9.4.jar [ERROR] urls[25] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-git-commons/1.9.4/maven-scm-provider-git-commons-1.9.4.jar [ERROR] urls[26] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-hg/1.9.4/maven-scm-provider-hg-1.9.4.jar [ERROR] urls[27] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-perforce/1.9.4/maven-scm-provider-perforce-1.9.4.jar [ERROR] urls[28] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-starteam/1.9.4/maven-scm-provider-starteam-1.9.4.jar [ERROR] urls[29] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-svnexe/1.9.4/maven-scm-provider-svnexe-1.9.4.jar [ERROR] urls[30] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-synergy/1.9.4/maven-scm-provider-synergy-1.9.4.jar [ERROR] urls[31] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-vss/1.9.4/maven-scm-provider-vss-1.9.4.jar [ERROR] urls[32] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-tfs/1.9.4/maven-scm-provider-tfs-1.9.4.jar [ERROR] urls[33] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-integrity/1.9.4/maven-scm-provider-integrity-1.9.4.jar [ERROR] urls[34] = file:/Users/benson/.m2/repository/com/mks/api/mksapi-jar/4.10.9049/mksapi-jar-4.10.9049.jar [ERROR] urls[35] = file:/Users/benson/.m2/repository/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.jar [ERROR] urls[36] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-jazz/1.9.4/maven-scm-provider-jazz-1.9.4.jar [ERROR] urls[37] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-manager-plexus/1.8/maven-scm-manager-plexus-1.8.jar [ERROR] urls[38] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-provider-svn-commons/1.9.4/maven-scm-provider-svn-commons-1.9.4.jar [ERROR] urls[39] = file:/Users/benson/.m2/repository/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.jar [ERROR] urls[40] = file:/Users/benson/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar [ERROR] urls[41] = file:/Users/benson/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar [ERROR] urls[42] = file:/Users/benson/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar [ERROR] urls[43] = file:/Users/benson/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar [ERROR] urls[44] = file:/Users/benson/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar [ERROR] urls[45] = file:/Users/benson/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar [ERROR] urls[46] = file:/Users/benson/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar [ERROR] urls[47] = file:/Users/benson/.m2/repository/org/apache/maven/scm/maven-scm-api/1.9.4/maven-scm-api-1.9.4.jar [ERROR] urls[48] = file:/Users/benson/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.10/plexus-utils-3.0.10.jar [ERROR] urls[49] = file:/Users/benson/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.xml.pull.EntityReplacementMap [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
Attachments
Issue Links
- is duplicated by
-
MRELEASE-918 Release fails on missing class EntityReplacementMap
- Closed
-
MRELEASE-907 Upgrade Plexus-utils to 3.0.15 to match with maven-scm
- Closed