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

Changes:

[Benjamin Bentmann] [MNG-1895] Dependencies in two paths are not added to 
resolution when scope needs to be updated in the nearest due to any of nearest 
parents

o Added IT

------------------------------------------
[...truncated 5886 lines...]
        at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1185)
        at 
org.apache.maven.it.MavenITmng4367LayoutAwareMirrorSelectionTest.testitNonMatchingLayout(MavenITmng4367LayoutAwareMirrorSelectionTest.java:120)
Caused by: 
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) 
org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution:maven-plugin:2.1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.maven.its.plugins 
-DartifactId=maven-it-plugin-dependency-resolution -Dversion=2.1-SNAPSHOT 
-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.its.plugins 
-DartifactId=maven-it-plugin-dependency-resolution -Dversion=2.1-SNAPSHOT 
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

----------
1 required artifact is missing.
for artifact: 
  
org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution:maven-plugin:2.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)

        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.MavenITmng4367LayoutAwareMirrorSelectionTest.testitNonMatchingLayout(MavenITmng4367LayoutAwareMirrorSelectionTest.java:120)
        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)

testitLifecycleInvocation(org.apache.maven.it.MavenITmng4291MojoRequiresOnlineModeTest)
  Time elapsed: 0.141 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
 --offline -e --batch-mode -Dmaven.repo.local=C:\opt\repos\local-repository 
validate
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Integration Test :: MNG-4291 0.1
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.006s
[INFO] Finished at: Sun Jul 11 13:40:33 PDT 2010
[INFO] Final Memory: 24M/44M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.its.plugins:maven-it-plugin-online:2.1-SNAPSHOT 
or one of its dependencies could not be resolved: The repository system is 
offline and the requested artifact is not locally available at 
C:\opt\repos\local-repository\org\apache\maven\its\plugins\maven-it-plugin-online\2.1-SNAPSHOT\maven-it-plugin-online-2.1-SNAPSHOT.jar
  org.apache.maven.its.plugins:maven-it-plugin-online:maven-plugin:2.1-SNAPSHOT

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.its.plugins:maven-it-plugin-online:2.1-SNAPSHOT or one of its 
dependencies could not be resolved: The repository system is offline and the 
requested artifact is not locally available at 
C:\opt\repos\local-repository\org\apache\maven\its\plugins\maven-it-plugin-online\2.1-SNAPSHOT\maven-it-plugin-online-2.1-SNAPSHOT.jar
  org.apache.maven.its.plugins:maven-it-plugin-online:maven-plugin:2.1-SNAPSHOT

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:199)
        at 
org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorImpl.setupMojoExections(LifecycleExecutionPlanCalculatorImpl.java:148)
        at 
org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatorImpl.calculateExecutionPlan(LifecycleExecutionPlanCalculatorImpl.java:123)
        at 
org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:97)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:58)
        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:252)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:100)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:443)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:166)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:148)
        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.MavenITmng4291MojoRequiresOnlineModeTest.testitLifecycleInvocation(MavenITmng4291MojoRequiresOnlineModeTest.java:86)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: The 
repository system is offline and the requested artifact is not locally 
available at 
C:\opt\repos\local-repository\org\apache\maven\its\plugins\maven-it-plugin-online\2.1-SNAPSHOT\maven-it-plugin-online-2.1-SNAPSHOT.jar
  org.apache.maven.its.plugins:maven-it-plugin-online:maven-plugin:2.1-SNAPSHOT

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.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:289)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
        at 
org.apache.maven.repository.legacy.LegacyRepositorySystem.resolve(LegacyRepositorySystem.java:340)
        at 
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:75)
        ... 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.MavenITmng4291MojoRequiresOnlineModeTest.testitLifecycleInvocation(MavenITmng4291MojoRequiresOnlineModeTest.java:86)
        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: 
  testBootstrap(org.apache.maven.it.MavenITBootstrapTest)
  testit(org.apache.maven.it.MavenITmng4721OptionalPluginDependencyTest)
  
testit(org.apache.maven.it.MavenITmng4720DependencyManagementExclusionMergeTest)
  testit(org.apache.maven.it.MavenITmng4696MavenProjectDependencyArtifactsTest)
  testit(org.apache.maven.it.MavenITmng4679SnapshotUpdateInPluginTest)
  testit(org.apache.maven.it.MavenITmng4666CoreRealmImportTest)
  testit(org.apache.maven.it.MavenITmng4654ArtifactHandlerForMainArtifactTest)
  
testitResolution(org.apache.maven.it.MavenITmng4600DependencyOptionalFlagManagementTest)
  testit(org.apache.maven.it.MavenITmng4526MavenProjectArtifactsScopeTest)
  testit(org.apache.maven.it.MavenITmng4500NoUpdateOfTimestampedSnapshotsTest)
  testit(org.apache.maven.it.MavenITmng4498IgnoreBrokenMetadataTest)
  
testit(org.apache.maven.it.MavenITmng4479ProjectLevelPluginDepUsedForCliConfigTest)
  
testitRelease(org.apache.maven.it.MavenITmng4470AuthenticatedDeploymentToProxyTest)
  
testitSnapshot(org.apache.maven.it.MavenITmng4470AuthenticatedDeploymentToProxyTest)
  
testit(org.apache.maven.it.MavenITmng4469AuthenticatedDeploymentToCustomRepoTest)
  testitHttpToHttp(org.apache.maven.it.MavenITmng4428FollowHttpRedirectTest)
  testitHttpsToHttps(org.apache.maven.it.MavenITmng4428FollowHttpRedirectTest)
  
testitRelativeLocation(org.apache.maven.it.MavenITmng4428FollowHttpRedirectTest)
  testit(org.apache.maven.it.MavenITmng4413MirroringOfDependencyRepoTest)
  testit(org.apache.maven.it.MavenITmng4403LenientDependencyPomParsingTest)
  testitSettingsRepos(org.apache.maven.it.MavenITmng4400RepositoryOrderTest)
  testitPomRepos(org.apache.maven.it.MavenITmng4400RepositoryOrderTest)
  
testit(org.apache.maven.it.MavenITmng4379TransitiveSystemPathInterpolatedWithEnvVarTest)
  
testitNoLayout(org.apache.maven.it.MavenITmng4367LayoutAwareMirrorSelectionTest)
  
testitSpecificLayouts(org.apache.maven.it.MavenITmng4367LayoutAwareMirrorSelectionTest)
  
testitNonMatchingLayout(org.apache.maven.it.MavenITmng4367LayoutAwareMirrorSelectionTest)
  
testitLifecycleInvocation(org.apache.maven.it.MavenITmng4291MojoRequiresOnlineModeTest)

Tests run: 608, Failures: 0, Errors: 27, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:02.732s
[INFO] Finished at: Sun Jul 11 13:48:44 PDT 2010
[INFO] Final Memory: 6M/32M
[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:148)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:87)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:79)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:86)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:58)
        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:252)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:100)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:443)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:166)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:130)
        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:110)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:144)
        ... 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

Reply via email to