On 19/06/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
If you do "mvn install" in the parent IT directory all the plugins and artifacts required will be installed and the ITs will pass.
I'm sure we're crossing wires here: [EMAIL PROTECTED] core-integration-testing]$ mvn install ... [EMAIL PROTECTED] core-integration-testing]$ cd core-integration-tests [EMAIL PROTECTED] core-integration-tests]$ mvn test ... ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.maven.integrationtests.IntegrationTestSuite Running integration tests for Maven 2.0.8-SNAPSHOT 0000(testit0000).. Ok 0001(testit0001).. Ok 0002(testit0002).. Failure
From core-integration-testing/core-integration-tests/target/test-classes/it0002/log.txt:
+ Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'clean'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Integration Test :: it0002 [INFO] task-segment: [clean:clean, package] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory c:\core-integration-testing\core-integration-tests\target\test-classes\it0002\target [INFO] Deleting directory c:\core-integration-testing\core-integration-tests\target\test-classes\it0002\target\classes [INFO] Deleting directory c:\core-integration-testing\core-integration-tests\target\test-classes\it0002\target\test-classes [INFO] Deleting directory c:\core-integration-testing\core-integration-tests\target\test-classes\it0002\target\site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://maven.iizuka.co.uk//org/apache/maven/its/maven-core-it-support/1.0/maven-core-it-support-1.0.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/its/maven-core-it-support/1.0/maven-core-it-support-1.0.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.maven.its:maven-core-it-support:jar:1.0 ... Path to dependency: 1) org.apache.maven.its.it0002:maven-it-it0002:jar:1.0 2) org.apache.maven.its:maven-core-it-support:jar:1.0 ... Which doesn't surprise me since it0002 does: verifier.deleteArtifact( "org.apache.maven.its", "maven-core-it-support", "1.0", "jar" ); verifier.executeGoal( "package" ); ... verifier.assertArtifactPresent( "org.apache.maven.its", "maven-core-it-support", "1.0", "jar" ); And hence expects org.apache.maven.its:maven-core-it-support:jar:1.0 to be downloaded from a remote repo after the test deletes it from the local repo. Not sure why others aren't experiencing this? Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]