On 15 Jun 07, at 4:24 AM 15 Jun 07, Mark Hobson wrote:

On 13/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: jvanzyl
Date: Tue Jun 12 20:26:16 2007
New Revision: 546719

URL: http://svn.apache.org/viewvc?view=rev&rev=546719
Log:
o using the new groupId for the IT artifacts

Modified:
maven/core-integration-testing/trunk/core-integration-tests/ src/test/java/org/apache/maven/integrationtests/MavenIT0002Test.java

Modified: maven/core-integration-testing/trunk/core-integration- tests/src/test/java/org/apache/maven/integrationtests/ MavenIT0002Test.java URL: http://svn.apache.org/viewvc/maven/core-integration-testing/ trunk/core-integration-tests/src/test/java/org/apache/maven/ integrationtests/MavenIT0002Test.java? view=diff&rev=546719&r1=546718&r2=546719 ===================================================================== ========= --- maven/core-integration-testing/trunk/core-integration-tests/ src/test/java/org/apache/maven/integrationtests/ MavenIT0002Test.java (original) +++ maven/core-integration-testing/trunk/core-integration-tests/ src/test/java/org/apache/maven/integrationtests/ MavenIT0002Test.java Tue Jun 12 20:26:16 2007
@@ -24,7 +24,7 @@
verifier.assertFilePresent( "target/test-classes/org/ apache/maven/it0002/PersonTest.class" ); verifier.assertFilePresent( "target/maven-it- it0002-1.0.jar" ); verifier.assertFilePresent( "target/maven-it- it0002-1.0.jar!/it0002.properties" ); - verifier.assertArtifactPresent( "org.apache.maven", "maven-core-it-support", "1.0", "jar" ); + verifier.assertArtifactPresent( "org.apache.maven.its", "maven-core-it-support", "1.0", "jar" );
         verifier.verifyErrorFreeLog();
         verifier.resetStreams();

This breaks it0002 for me.  Shouldn't new versions of
maven-core-it-support be deployed under the new groupId and the other
references to it within the IT be updated?:

If you install the artifacts you'll be fine. The invoker plugin broke which is why they are not installed. You can't simply run the ITs, you must install the plugins and artifacts that are used as part of the ITs.

As I go through and find them I update them, but there is still a mixture of some old in there. Ideally the goal is to be able to start with nothing, install the artifacts required for running the ITs, and then run the ITs. So if you see things that aren't updated then fix them.

This should ultimately become self-contained:

http://svn.apache.org/repos/asf/maven/core-integration-testing/trunk/

Without any requirement for anything to be installed in a remote repository. See the IT problem notes for details.


Index: core-integration-tests/src/test/java/org/apache/maven/ integrationtests/MavenIT0002Test.java
===================================================================
--- core-integration-tests/src/test/java/org/apache/maven/ integrationtests/MavenIT0002Test.java
(revision 547616)
+++ core-integration-tests/src/test/java/org/apache/maven/ integrationtests/MavenIT0002Test.java
(working copy)
@@ -18,7 +18,7 @@
    {
        File testDir = ResourceExtractor.simpleExtractResources(
getClass(), "/it0002" );
        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
-        verifier.deleteArtifact( "org.apache.maven",
"maven-core-it-support", "1.0", "jar" );
+        verifier.deleteArtifact( "org.apache.maven.its",
"maven-core-it-support", "1.0", "jar" );
        verifier.executeGoal( "package" );
        verifier.assertFilePresent(
"target/classes/org/apache/maven/it0002/Person.class" );
        verifier.assertFilePresent(
"target/test-classes/org/apache/maven/it0002/PersonTest.class" );
Index: core-integration-tests/src/test/resources/it0002/pom.xml
===================================================================
--- core-integration-tests/src/test/resources/it0002/pom.xml
(revision 547616)
+++ core-integration-tests/src/test/resources/it0002/pom.xml (working copy)
@@ -17,7 +17,7 @@
      <scope>test</scope>
    </dependency>
    <dependency>
-      <groupId>org.apache.maven</groupId>
+      <groupId>org.apache.maven.its</groupId>
      <artifactId>maven-core-it-support</artifactId>
      <version>1.0</version>
      <type>jar</type>

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to