-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Maven 3.1.0
JDK 7 update 40
Maven 3.0.3
JDK 7 update 26
When I build a Maven job from Jenkins I get this output:
[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 - ------------------------------------------------------------------------
Notice there is no indication of why the build failed. When I run the same command-line from a shell, I get this output:
[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
I don't know if these issues are related but they modify the log and were committed recently: