org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------

Jenkins JIRA | cowwoc | 3 years ago
  1. 0

    When I build a Maven job from Jenkins I get this output: {code} [EnvInject] - Loading node environment variables. Building on master in workspace C:\Program Files\Jenkins\jobs\server\workspace [workspace] $ "C:\Program Files\TortoiseHg/hg" showconfig paths.default Acquired master cache lock. [FD91D6ED4EFC637D1A4D0A8F0B8E1D0DB4D1A237-vtlr] $ "C:\Program Files\TortoiseHg/hg" pull pulling from https://bbs.darktech.org/hg/vtlr/ searching for changes no changes found Master cache lock released. [workspace] $ "C:\Program Files\TortoiseHg/hg" pull --rev vtlr "C:\Program Files\Jenkins\hgcache\FD91D6ED4EFC637D1A4D0A8F0B8E1D0DB4D1A237-vtlr" [workspace] $ "C:\Program Files\TortoiseHg/hg" update --clean --rev vtlr 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [workspace] $ "C:\Program Files\TortoiseHg/hg" log --rev . --template {node} [workspace] $ "C:\Program Files\TortoiseHg/hg" log --rev . --template {rev} [workspace] $ "C:\Program Files\TortoiseHg/hg" log --rev 14c0a669fbc95a72b7f0ca0d92a7a6ab1129d82c [workspace] $ "C:\Program Files\TortoiseHg/hg" log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev vtlr:0 --follow --prune 14c0a669fbc95a72b7f0ca0d92a7a6ab1129d82c --encoding UTF-8 --encodingmode replace Parsing POMs [workspace] $ "C:\Program Files\Java\jdk1.7.0_25/bin/java" -cp "C:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\Maven_auto-install_\boot\plexus-classworlds-2.4.2.jar" jenkins.maven3.agent.Maven31Main "C:\Program Files\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\Maven_auto-install_" "C:\Program Files\Jenkins\war\WEB-INF\lib\remoting-2.30.jar" "C:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar" "C:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar" 8861 <===[JENKINS REMOTING CAPACITY]===>channel started log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. Executing Maven: -B -f C:\Program Files\Jenkins\jobs\server\workspace\pom.xml -e install [pool-1-thread-1] INFO org.apache.maven.cli.DefaultMavenExecutionRequestBuilder - Error stacktraces are turned on. [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Scanning for projects... [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Scanning for projects... [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Reactor Build Order: [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Database [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Service [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Web [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Build Order: [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Database [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Service [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Web [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Building Vtlr.Server 1.0-SNAPSHOT [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Building Vtlr.Server 1.0-SNAPSHOT [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-install-plugin:2.4:install (default-install) @ server --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-install-plugin:2.4:install (default-install) @ server --- [pool-1-thread-1] INFO org.apache.maven.DefaultMaven - Installing C:\Program Files\Jenkins\jobs\server\workspace\pom.xml to C:\.m2\repository\com\vtlr\server\1.0-SNAPSHOT\server-1.0-SNAPSHOT.pom [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Building Vtlr.Server.Database 1.0-SNAPSHOT [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Building Vtlr.Server.Database 1.0-SNAPSHOT [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-resources-plugin:2.6:resources (default-resources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-resources-plugin:2.6:resources (default-resources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - Using 'UTF-8' encoding to copy filtered resources. [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - Copying 1 resource [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-compiler-plugin:3.1:compile (default-compile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-compiler-plugin:3.1:compile (default-compile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.plugin.compiler.CompilerMojo - Nothing to compile - all classes are up to date [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-resources-plugin:2.6:testResources (default-testResources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-resources-plugin:2.6:testResources (default-testResources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - Using 'UTF-8' encoding to copy filtered resources. [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - skip non existing resourceDirectory C:\Program Files\Jenkins\jobs\server\workspace\database\src\test\resources [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.plugin.compiler.TestCompilerMojo - No sources to compile [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-surefire-plugin:2.12.4:test (default-test) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-surefire-plugin:2.12.4:test (default-test) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.plugin.surefire.SurefirePlugin - No tests to run. [JENKINS] Recording test results [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-jar-plugin:2.4:jar (default-jar) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-jar-plugin:2.4:jar (default-jar) @ server.database --- [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- flyway-maven-plugin:2.2:migrate (default) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- flyway-maven-plugin:2.2:migrate (default) @ server.database --- [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Reactor Summary: [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server ....................................... SUCCESS [1.213s] [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Database .............................. FAILURE [1.163s] [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Service ............................... SKIPPED [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Web ................................... SKIPPED [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - BUILD FAILURE [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Total time: 2.588s [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Finished at: Wed Aug 07 08:47:39 EDT 2013 [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Final Memory: 13M/368M [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server\builds\2013-08-07_08-47-34\archive\com.vtlr\server\1.0-SNAPSHOT\server-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\web\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.web\builds\2013-08-07_08-47-34\archive\com.vtlr\server.web\1.0-SNAPSHOT\server.web-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\service\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.service\builds\2013-08-07_08-47-34\archive\com.vtlr\server.service\1.0-SNAPSHOT\server.service-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\database\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.database\builds\2013-08-07_08-47-34\archive\com.vtlr\server.database\1.0-SNAPSHOT\server.database-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\database\target\server.database-1.0-SNAPSHOT.jar to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.database\builds\2013-08-07_08-47-34\archive\com.vtlr\server.database\1.0-SNAPSHOT\server.database-1.0-SNAPSHOT.jar [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Summary: [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server ....................................... SUCCESS [1.213s] [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Database .............................. FAILURE [1.163s] [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Service ............................... SKIPPED [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Web ................................... SKIPPED [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time: 2.880s [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: Wed Aug 07 08:47:40 EDT 2013 [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Final Memory: 11M/368M [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ {code} Notice there is no indication of why the build failed. When I run the same command-line from a shell, I get this output: {code} [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Vtlr.Server [INFO] Vtlr.Server.Database [INFO] Vtlr.Server.Service [INFO] Vtlr.Server.Web [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Vtlr.Server 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ server --- [INFO] Installing C:\Program Files\Jenkins\jobs\server\workspace\pom.xml to C:\.m2\repository\com\vtlr\server\1.0-SNAPSHOT\server-1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Vtlr.Server.Database 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ server.database --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ server.database --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ server.database --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Program Files\Jenkins\jobs\server\workspace\database\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server.database --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ server.database --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ server.database --- [INFO] [INFO] --- flyway-maven-plugin:2.2:migrate (default) @ server.database --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Vtlr.Server ....................................... SUCCESS [0.269s] [INFO] Vtlr.Server.Database .............................. FAILURE [0.997s] [INFO] Vtlr.Server.Service ............................... SKIPPED [INFO] Vtlr.Server.Web ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.400s [INFO] Finished at: Wed Aug 07 08:40:26 EDT 2013 [INFO] Final Memory: 14M/464M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar [ERROR] urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar [ERROR] urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar [ERROR] urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar [ERROR] urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar [ERROR] urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar [ERROR] urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar [ERROR] urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar [ERROR] urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar [ERROR] urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar [ERROR] urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar [ERROR] urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar [ERROR] urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar [ERROR] urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar [ERROR] urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar [ERROR] urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar [ERROR] urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes [ERROR] urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ [ERROR] urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:220) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357) Caused by: org.apache.maven.plugin.PluginConfigurationException: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:628) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:534) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V at com.googlecode.flyway.maven.IncludeProjectDependenciesComponentConfigurator.configureComponent(IncludeProjectDependenciesComponentConfigurator.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.component.configurator.AbstractComponentConfigurator.configureComponent(AbstractComponentConfigurator.java:57) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:572) ... 22 more [ERROR] [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/PluginConfigurationException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :server.database {code} I don't know if these issues are related but they modify the log and were committed recently: JENKINS-15025 JENKINS-18959

    Jenkins JIRA | 3 years ago | cowwoc
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  2. 0

    When I build a Maven job from Jenkins I get this output: {code} [EnvInject] - Loading node environment variables. Building on master in workspace C:\Program Files\Jenkins\jobs\server\workspace [workspace] $ "C:\Program Files\TortoiseHg/hg" showconfig paths.default Acquired master cache lock. [FD91D6ED4EFC637D1A4D0A8F0B8E1D0DB4D1A237-vtlr] $ "C:\Program Files\TortoiseHg/hg" pull pulling from https://bbs.darktech.org/hg/vtlr/ searching for changes no changes found Master cache lock released. [workspace] $ "C:\Program Files\TortoiseHg/hg" pull --rev vtlr "C:\Program Files\Jenkins\hgcache\FD91D6ED4EFC637D1A4D0A8F0B8E1D0DB4D1A237-vtlr" [workspace] $ "C:\Program Files\TortoiseHg/hg" update --clean --rev vtlr 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [workspace] $ "C:\Program Files\TortoiseHg/hg" log --rev . --template {node} [workspace] $ "C:\Program Files\TortoiseHg/hg" log --rev . --template {rev} [workspace] $ "C:\Program Files\TortoiseHg/hg" log --rev 14c0a669fbc95a72b7f0ca0d92a7a6ab1129d82c [workspace] $ "C:\Program Files\TortoiseHg/hg" log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev vtlr:0 --follow --prune 14c0a669fbc95a72b7f0ca0d92a7a6ab1129d82c --encoding UTF-8 --encodingmode replace Parsing POMs [workspace] $ "C:\Program Files\Java\jdk1.7.0_25/bin/java" -cp "C:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;C:\Program Files\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\Maven_auto-install_\boot\plexus-classworlds-2.4.2.jar" jenkins.maven3.agent.Maven31Main "C:\Program Files\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\Maven_auto-install_" "C:\Program Files\Jenkins\war\WEB-INF\lib\remoting-2.30.jar" "C:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar" "C:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar" 8861 <===[JENKINS REMOTING CAPACITY]===>channel started log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. Executing Maven: -B -f C:\Program Files\Jenkins\jobs\server\workspace\pom.xml -e install [pool-1-thread-1] INFO org.apache.maven.cli.DefaultMavenExecutionRequestBuilder - Error stacktraces are turned on. [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Scanning for projects... [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Scanning for projects... [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Reactor Build Order: [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Database [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Service [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Web [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Build Order: [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Database [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Service [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Web [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Building Vtlr.Server 1.0-SNAPSHOT [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Building Vtlr.Server 1.0-SNAPSHOT [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-install-plugin:2.4:install (default-install) @ server --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-install-plugin:2.4:install (default-install) @ server --- [pool-1-thread-1] INFO org.apache.maven.DefaultMaven - Installing C:\Program Files\Jenkins\jobs\server\workspace\pom.xml to C:\.m2\repository\com\vtlr\server\1.0-SNAPSHOT\server-1.0-SNAPSHOT.pom [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Building Vtlr.Server.Database 1.0-SNAPSHOT [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Building Vtlr.Server.Database 1.0-SNAPSHOT [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-resources-plugin:2.6:resources (default-resources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-resources-plugin:2.6:resources (default-resources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - Using 'UTF-8' encoding to copy filtered resources. [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - Copying 1 resource [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-compiler-plugin:3.1:compile (default-compile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-compiler-plugin:3.1:compile (default-compile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.plugin.compiler.CompilerMojo - Nothing to compile - all classes are up to date [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-resources-plugin:2.6:testResources (default-testResources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-resources-plugin:2.6:testResources (default-testResources) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - Using 'UTF-8' encoding to copy filtered resources. [pool-1-thread-1] INFO org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering - skip non existing resourceDirectory C:\Program Files\Jenkins\jobs\server\workspace\database\src\test\resources [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.plugin.compiler.TestCompilerMojo - No sources to compile [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-surefire-plugin:2.12.4:test (default-test) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-surefire-plugin:2.12.4:test (default-test) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.plugin.surefire.SurefirePlugin - No tests to run. [JENKINS] Recording test results [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- maven-jar-plugin:2.4:jar (default-jar) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-jar-plugin:2.4:jar (default-jar) @ server.database --- [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - --- flyway-maven-plugin:2.2:migrate (default) @ server.database --- [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- flyway-maven-plugin:2.2:migrate (default) @ server.database --- [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Reactor Summary: [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server ....................................... SUCCESS [1.213s] [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Database .............................. FAILURE [1.163s] [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Service ............................... SKIPPED [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Vtlr.Server.Web ................................... SKIPPED [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - BUILD FAILURE [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Total time: 2.588s [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Finished at: Wed Aug 07 08:47:39 EDT 2013 [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - Final Memory: 13M/368M [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - ------------------------------------------------------------------------ [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server\builds\2013-08-07_08-47-34\archive\com.vtlr\server\1.0-SNAPSHOT\server-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\web\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.web\builds\2013-08-07_08-47-34\archive\com.vtlr\server.web\1.0-SNAPSHOT\server.web-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\service\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.service\builds\2013-08-07_08-47-34\archive\com.vtlr\server.service\1.0-SNAPSHOT\server.service-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\database\pom.xml to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.database\builds\2013-08-07_08-47-34\archive\com.vtlr\server.database\1.0-SNAPSHOT\server.database-1.0-SNAPSHOT.pom [JENKINS] Archiving C:\Program Files\Jenkins\jobs\server\workspace\database\target\server.database-1.0-SNAPSHOT.jar to C:\Program Files\Jenkins\jobs\server\modules\com.vtlr$server.database\builds\2013-08-07_08-47-34\archive\com.vtlr\server.database\1.0-SNAPSHOT\server.database-1.0-SNAPSHOT.jar [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Summary: [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server ....................................... SUCCESS [1.213s] [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Database .............................. FAILURE [1.163s] [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Service ............................... SKIPPED [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Vtlr.Server.Web ................................... SKIPPED [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time: 2.880s [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: Wed Aug 07 08:47:40 EDT 2013 [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - Final Memory: 11M/368M [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ {code} Notice there is no indication of why the build failed. When I run the same command-line from a shell, I get this output: {code} [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Vtlr.Server [INFO] Vtlr.Server.Database [INFO] Vtlr.Server.Service [INFO] Vtlr.Server.Web [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Vtlr.Server 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ server --- [INFO] Installing C:\Program Files\Jenkins\jobs\server\workspace\pom.xml to C:\.m2\repository\com\vtlr\server\1.0-SNAPSHOT\server-1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Vtlr.Server.Database 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ server.database --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ server.database --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ server.database --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Program Files\Jenkins\jobs\server\workspace\database\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ server.database --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ server.database --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ server.database --- [INFO] [INFO] --- flyway-maven-plugin:2.2:migrate (default) @ server.database --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Vtlr.Server ....................................... SUCCESS [0.269s] [INFO] Vtlr.Server.Database .............................. FAILURE [0.997s] [INFO] Vtlr.Server.Service ............................... SKIPPED [INFO] Vtlr.Server.Web ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.400s [INFO] Finished at: Wed Aug 07 08:40:26 EDT 2013 [INFO] Final Memory: 14M/464M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar [ERROR] urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar [ERROR] urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar [ERROR] urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar [ERROR] urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar [ERROR] urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar [ERROR] urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar [ERROR] urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar [ERROR] urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar [ERROR] urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar [ERROR] urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar [ERROR] urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar [ERROR] urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar [ERROR] urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar [ERROR] urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar [ERROR] urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar [ERROR] urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes [ERROR] urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ [ERROR] urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:220) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357) Caused by: org.apache.maven.plugin.PluginConfigurationException: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:628) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:534) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V at com.googlecode.flyway.maven.IncludeProjectDependenciesComponentConfigurator.configureComponent(IncludeProjectDependenciesComponentConfigurator.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.component.configurator.AbstractComponentConfigurator.configureComponent(AbstractComponentConfigurator.java:57) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:572) ... 22 more [ERROR] [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/PluginConfigurationException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :server.database {code} I don't know if these issues are related but they modify the log and were committed recently: JENKINS-15025 JENKINS-18959

    Jenkins JIRA | 3 years ago | cowwoc
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project server.database: An API incompatibility was encountered during configuration of mojo com.googlecode.flyway:flyway-maven-plugin:2.2:migrate: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V ----------------------------------------------------- realm = plugin>com.googlecode.flyway:flyway-maven-plugin:2.2 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-maven-plugin/2.2/flyway-maven-plugin-2.2.jar urls[1] = file:/C:/.m2/repository/com/h2database/h2/1.3.172/h2-1.3.172.jar urls[2] = file:/C:/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[3] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[4] = file:/C:/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar urls[5] = file:/C:/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[6] = file:/C:/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[7] = file:/C:/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar urls[8] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[9] = file:/C:/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[10] = file:/C:/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar urls[11] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[12] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar urls[13] = file:/C:/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[14] = file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar urls[15] = file:/C:/.m2/repository/com/googlecode/flyway/flyway-core/2.2/flyway-core-2.2.jar urls[16] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/test-classes urls[17] = file:/C:/Program%20Files/Jenkins/jobs/server/workspace/database/target/classes/ urls[18] = file:/C:/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  3. 0

    Hi, I used m2eclipse & subclipse with eclipse galileo on WinXP32 to import the sonar-maven projects. I don't get it running ... Can you help? regards, Stephan 1.) I cannot import sonar via "Check out Maven projects from SCM" because of too long path names e.g. .\sonar-plugin-api\src\test\resources\org\sonar\api\database\daos\AsyncMeasuresServiceTest\shouldAddAsyncMeasureSnapshotWithoutSnapshotWhenANewAsyncMeasureIsJustBeforeAnotherWithTheSameMetric-result.xml 2.) I get a bunch of errors: - Project 'sonar-basic-plugin' is missing required Java project: 'sonar-plugin-api' sonar-basic-plugin Build path Build Path Problem - Project 'sonar-core' is missing required Java project: 'sonar-plugin-api' sonar-core Build path Build Path Problem - Project 'sonar-gwt-plugin' is missing required Java project: 'sonar-plugin-api' sonar-gwt-plugin Build path Build Path Problem - The project cannot be built until build path errors are resolved sonar-gwt-plugin Unknown Java Problem - Project 'sonar-archetypes' is missing required Java project: 'sonar-plugin-api' sonar-archetypes Build path Build Path Problem well, e.g. sonar-plugin-api is also imported automatically and has no errors - so why it is missing? 3.) When trying to do a m2-build for sonar-basic-plugin I get: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Sonar archetype of basic plugin [INFO] [INFO] Id: org.codehaus.sonar.archetypes:sonar-basic-plugin:jar:1.11-SNAPSHOT [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting file set: C:\ws\sonar\archetypes\sonar-basic-plugin\target (included: [**], excluded: []) [INFO] [resources:resources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\ws\sonar\archetypes\sonar-basic-plugin\src\main\resources [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\ws\sonar\archetypes\sonar-basic-plugin\src\test\resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: C:\ws\sonar\archetypes\sonar-basic-plugin\target\sonar-basic-plugin-1.11-SNAPSHOT.jar [INFO] [antrun:run] [INFO] Executing tasks [ERROR] org.apache.maven.plugin.antrun.AntRunMojo#execute() caused a linkage error (java.lang.NoSuchMethodError). Check the realms: NOTE: Plugin realm is: /plugins/org.apache.maven.plugins:maven-antrun-plugin:1.1@48/thread:main Container realm is: plexus.core Realm ID: /plugins/org.apache.maven.plugins:maven-antrun-plugin:1.1@48/thread:main urls[0] = file:/C:/maven-repository/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar urls[1] = file:/C:/maven-repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar urls[2] = file:/C:/maven-repository/junit/junit/3.8.1/junit-3.8.1.jar urls[3] = file:/C:/maven-repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar urls[4] = file:/C:/maven-repository/ant/ant/1.6.5/ant-1.6.5.jar Realm ID: plexus.core urls[0] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/configuration/org.eclipse.osgi/bundles/735/1/.cp/org.maven.ide.eclipse.cliresolver.jar urls[1] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/aspectjrt-1.5.3.jar urls[2] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/commons-cli-1.0.jar urls[3] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/doxia-sink-api-1.0-alpha-9.jar urls[4] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jsch-0.1.27.jar urls[5] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jtidy-4aug2000r7-dev.jar urls[6] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-artifact-3.0-SNAPSHOT.jar urls[7] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-core-2.1-SNAPSHOT.jar urls[8] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-embedder-2.1-SNAPSHOT.jar urls[9] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-lifecycle-2.1-SNAPSHOT.jar urls[10] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-model-2.1-SNAPSHOT.jar urls[11] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-plugin-api-2.1-SNAPSHOT.jar urls[12] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-profile-2.1-SNAPSHOT.jar urls[13] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-project-2.1-SNAPSHOT.jar urls[14] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-reporting-api-2.1-SNAPSHOT.jar urls[15] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-toolchain-2.1-SNAPSHOT.jar urls[16] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-workspace-2.1-SNAPSHOT.jar urls[17] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-container-default-1.0-alpha-44.jar urls[18] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interactivity-api-1.0-alpha-6.jar urls[19] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interpolation-1.0-SNAPSHOT.jar urls[20] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-utils-1.5.1.jar urls[21] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-file-1.0-beta-2.jar urls[22] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-lightweight-1.0-beta-2.jar urls[23] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-shared-1.0-beta-2.jar urls[24] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-provider-api-1.0-beta-2.jar urls[25] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-1.0-beta-2.jar urls[26] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-common-1.0-beta-2.jar urls[27] = file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-external-1.0-beta-2.jar java.lang.NoSuchMethodError: org.codehaus.plexus.DefaultPlexusContainer.setClassWorld(Lorg/codehaus/classworlds/ClassWorld;)V at org.codehaus.plexus.embed.Embedder.start(Embedder.java:181) at org.apache.maven.artifact.ant.AbstractArtifactTask.getContainer(AbstractArtifactTask.java:356) at org.apache.maven.artifact.ant.AbstractArtifactTask.lookup(AbstractArtifactTask.java:332) at org.apache.maven.artifact.ant.AbstractArtifactTask.createLocalArtifactRepository(AbstractArtifactTask.java:88) at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:88) at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:522) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:334) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223) at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1) at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904) at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176) at org.apache.maven.cli.MavenCli.main(MavenCli.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351) at org.codehaus.classworlds.Launcher.main(Launcher.java:31) --------------------------------------------------- constituent[0]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/configuration/org.eclipse.osgi/bundles/735/1/.cp/org.maven.ide.eclipse.cliresolver.jar constituent[1]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/aspectjrt-1.5.3.jar constituent[2]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/commons-cli-1.0.jar constituent[3]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/doxia-sink-api-1.0-alpha-9.jar constituent[4]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jsch-0.1.27.jar constituent[5]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jtidy-4aug2000r7-dev.jar constituent[6]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-artifact-3.0-SNAPSHOT.jar constituent[7]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-core-2.1-SNAPSHOT.jar constituent[8]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-embedder-2.1-SNAPSHOT.jar constituent[9]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-lifecycle-2.1-SNAPSHOT.jar constituent[10]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-model-2.1-SNAPSHOT.jar constituent[11]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-plugin-api-2.1-SNAPSHOT.jar constituent[12]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-profile-2.1-SNAPSHOT.jar constituent[13]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-project-2.1-SNAPSHOT.jar constituent[14]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-reporting-api-2.1-SNAPSHOT.jar constituent[15]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-toolchain-2.1-SNAPSHOT.jar constituent[16]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-workspace-2.1-SNAPSHOT.jar constituent[17]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-container-default-1.0-alpha-44.jar constituent[18]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interactivity-api-1.0-alpha-6.jar constituent[19]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interpolation-1.0-SNAPSHOT.jar constituent[20]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-utils-1.5.1.jar constituent[21]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-file-1.0-beta-2.jar constituent[22]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-lightweight-1.0-beta-2.jar constituent[23]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-shared-1.0-beta-2.jar constituent[24]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-provider-api-1.0-beta-2.jar constituent[25]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-1.0-beta-2.jar constituent[26]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-common-1.0-beta-2.jar constituent[27]: file:/C:/Program%20Files/eclipse-jee-galileo/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-external-1.0-beta-2.jar --------------------------------------------------- Exception in thread "main" java.lang.NoSuchMethodError: org.codehaus.plexus.DefaultPlexusContainer.setClassWorld(Lorg/codehaus/classworlds/ClassWorld;)V at org.codehaus.plexus.embed.Embedder.start(Embedder.java:181) at org.apache.maven.artifact.ant.AbstractArtifactTask.getContainer(AbstractArtifactTask.java:356) at org.apache.maven.artifact.ant.AbstractArtifactTask.lookup(AbstractArtifactTask.java:332) at org.apache.maven.artifact.ant.AbstractArtifactTask.createLocalArtifactRepository(AbstractArtifactTask.java:88) at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:88) at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:522) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:334) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223) at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1) at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904) at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176) at org.apache.maven.cli.MavenCli.main(MavenCli.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351) at org.codehaus.classworlds.Launcher.main(Launcher.java:31)

    SonarSource JIRA | 7 years ago | Stephan Weber
    java.lang.NoSuchMethodError: org.codehaus.plexus.DefaultPlexusContainer.setClassWorld(Lorg/codehaus/classworlds/ClassWorld;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 157#53514673

    GitHub | 2 years ago | danielcompton
    java.lang.NoSuchMethodError: org.codehaus.plexus.DefaultPlexusContainer.setClassWorld(Lorg/codehaus/classworlds/ClassWorld;)V
  6. 0

    Hudson - Maven 3 - unable to build

    Stack Overflow | 6 years ago
    java.lang.NoSuchMethodError: org.codehaus.classworlds.Launcher.getWorld()Lorg/codehaus/classworlds/ClassWorld;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V

      at com.googlecode.flyway.maven.IncludeProjectDependenciesComponentConfigurator.configureComponent()
    2. ${project.artifactId}
      IncludeProjectDependenciesComponentConfigurator.configureComponent
      1. com.googlecode.flyway.maven.IncludeProjectDependenciesComponentConfigurator.configureComponent(IncludeProjectDependenciesComponentConfigurator.java:50)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Plexus
      AbstractComponentConfigurator.configureComponent
      1. org.codehaus.plexus.component.configurator.AbstractComponentConfigurator.configureComponent(AbstractComponentConfigurator.java:57)
      1 frame
    5. Maven Core
      DefaultMavenPluginManager.getConfiguredMojo
      1. org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:572)
      2. org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:534)
      2 frames
    6. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)
      1 frame
    7. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
      9 frames
    8. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    10. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
      4 frames