You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Hudson <Hu...@sonatype.org> on 2010/05/18 19:03:26 UTC

Build failed in Hudson: maven-3.0.x-ITs » 1.5,windows #259

See <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=windows/259/changes>

Changes:

[Benjamin Bentmann] o Refactored code

[Benjamin Bentmann] [MNG-4679] [regression] command line option "-update-snapshots" does not work for dependency:copy-dependencies

o Added IT

------------------------------------------
[...truncated 1102 lines...]
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	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:585)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

testProjectPackagingUsage(org.apache.maven.it.MavenITmng3506ArtifactHandlersFromPluginsTest)  Time elapsed: 3.102 sec  <<< ERROR!
org.apache.maven.it.VerificationException: Exit code was non-zero: 1; command line and log = 
C:\home\hudson\workspace\maven-3.0.x-ITs\jdk\1.5\label\windows\core-integration-tests\target\distro\bin\mvn -e --batch-mode -Dmaven.repo.local=C:\opt\repos\local-repository org.apache.maven.plugins:maven-clean-plugin:clean install
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] snapshot org.apache.maven.its.plugins:maven-it-plugin-extension1:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] snapshot org.apache.maven.its.plugins:maven-it-plugin-extension2:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] snapshot org.apache.maven.its.plugins:maven-it-plugins:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] snapshot org.apache.maven.its:core-integration-testing:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] snapshot org.apache.maven.its:core-integration-testing-parent:2.1-SNAPSHOT: checking for updates from Nexus
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] mng-3506
[INFO] mng-3506.1
[INFO] mng-3506.2
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building mng-3506 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-cli) @ mng-3506 ---
[INFO] 
[INFO] --- maven-install-plugin:2.3:install (default-install) @ mng-3506 ---
[INFO] Installing C:\home\hudson\workspace\maven-3.0.x-ITs\jdk\1.5\label\windows\core-integration-tests\target\test-classes\mng-3506\pom.xml to C:\opt\repos\local-repository\org\apache\maven\its\mng3506\mng-3506\1\mng-3506-1.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building mng-3506.1 1
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.sonatype.org:8081/content/groups/sonatype-public-grid/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] mng-3506 .......................................... SUCCESS [0.053s]
[INFO] mng-3506.1 ........................................ FAILURE [0.033s]
[INFO] mng-3506.2 ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.664s
[INFO] Finished at: Tue May 18 09:57:29 PDT 2010
[INFO] Final Memory: 73M/133M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.1 or one of its dependencies could not be resolved: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1

from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)
-> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.1 or one of its dependencies could not be resolved: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1

from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)

	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:83)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:127)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:241)
	at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:194)
	at org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorImpl.setupMojoExections(LifecycleExecutionPlanCalculatorImpl.java:143)
	at org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorImpl.calculateExecutionPlan(LifecycleExecutionPlanCalculatorImpl.java:118)
	at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:78)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:173)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:151)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:248)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:97)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:142)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.maven.it.Embedded3xLauncher.run(Embedded3xLauncher.java:176)
	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1326)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1191)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
	at org.apache.maven.it.MavenITmng3506ArtifactHandlersFromPluginsTest.testProjectPackagingUsage(MavenITmng3506ArtifactHandlersFromPluginsTest.java:58)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-compiler-plugin -Dversion=2.3.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.3.1

from the specified remote repositories:
  Nexus (http://repository.sonatype.org:8081/content/groups/sonatype-public-grid, releases=true, snapshots=true)

	at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:79)
	... 52 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/PluginResolutionException

	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1348)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1191)
	at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
	at org.apache.maven.it.MavenITmng3506ArtifactHandlersFromPluginsTest.testProjectPackagingUsage(MavenITmng3506ArtifactHandlersFromPluginsTest.java:58)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at org.apache.maven.it.AbstractMavenIntegrationTestCase.runTest(AbstractMavenIntegrationTestCase.java:198)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	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:585)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


Results :

Tests in error: 
  testProjectPackagingUsage(org.apache.maven.it.MavenITmng4270ArtifactHandlersFromPluginDepsTest)
  testProjectPackagingUsage(org.apache.maven.it.MavenITmng4238ArtifactHandlerExtensionUsageTest)
  testProjectPackagingUsage(org.apache.maven.it.MavenITmng3506ArtifactHandlersFromPluginsTest)

Tests run: 602, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:48.957s
[INFO] Finished at: Tue May 18 10:03:25 PDT 2010
[INFO] Final Memory: 6M/31M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project core-it-suite: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x-ITs\jdk\1.5\label\windows\core-integration-tests\target\surefire-reports for the individual test results.
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project core-it-suite: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x-ITs\jdk\1.5\label\windows\core-integration-tests\target\surefire-reports for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:137)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:173)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:151)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:248)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:97)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
	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:585)
	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:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to C:\home\hudson\workspace\maven-3.0.x-ITs\jdk\1.5\label\windows\core-integration-tests\target\surefire-reports for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
	... 19 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/MojoFailureException
Emma: looking for coverage reports in the provided path: core-integration-tests/target/site/emma/coverage.xml


Hudson build is back to normal : maven-3.0.x-ITs » 1.5,windows #260

Posted by Hudson <Hu...@sonatype.org>.
See <http://grid.sonatype.org/ci/job/maven-3.0.x-ITs/./jdk=1.5,label=windows/260/changes>