o Moved IT artifacts into group id for issue nubmer

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@749080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-01 19:53:41 +00:00
parent 1e8029bb6c
commit bbbf2daa0c
38 changed files with 65 additions and 68 deletions

View File

@ -24,42 +24,24 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File; import java.io.File;
public class MavenITmng2861RelocationsAndRangesTest public class MavenITmng2861RelocationsAndRangesTest
extends AbstractMavenIntegrationTestCase extends AbstractMavenIntegrationTestCase
{ {
public MavenITmng2861RelocationsAndRangesTest() public MavenITmng2861RelocationsAndRangesTest()
{ {
super( "(2.0.8,)" ); super( "(2.0.8,)" );
} }
public void testitMNG2861 () public void testitMNG2861()
throws Exception throws Exception
{ {
// The testdir is computed from the location of this
// file.
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2861" ); File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2861" );
Verifier verifier; Verifier verifier = new Verifier( new File( testDir, "MNG-2861" ).getAbsolutePath() );
verifier.deleteArtifacts( "org.apache.maven.its.mng2861" );
/*
* We must first make sure that any artifact created
* by this test has been removed from the local
* repository. Failing to do this could cause
* unstable test results. Fortunately, the verifier
* makes it easy to do this.
*/
verifier = new Verifier( new File(testDir,"MNG-2861").getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven.its.mng2861", "MNG-2861", "1.0-SNAPSHOT", "pom" );
verifier.deleteArtifact( "org.apache.maven.its.mng2861", "A", "1.0-SNAPSHOT", "jar" );
verifier.deleteArtifact( "org.apache.maven.its.mng2861", "B", "1.0-SNAPSHOT", "jar" );
verifier.deleteArtifact( "org.apache.maven.its.mng2861", "C", "1.0-SNAPSHOT", "jar" );
verifier.executeGoal( "install" ); verifier.executeGoal( "install" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
} }
} }

View File

@ -1,14 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?><project> <?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>MNG-2861</artifactId> <artifactId>MNG-2861</artifactId>
<groupId>org.apache.maven.its.mng2861</groupId> <groupId>org.apache.maven.its.mng2861</groupId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>A</artifactId> <artifactId>A</artifactId>
<name>A</name>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>A</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.maven.its.mng2861</groupId> <groupId>org.apache.maven.its.mng2861</groupId>
@ -21,11 +26,17 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
<repositories> <repositories>
<repository> <repository>
<id>id</id> <id>id</id>
<url>file:///${basedir}/../../repo</url> <url>file:///${basedir}/../../repo</url>
<releases><enabled>true</enabled></releases> <releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository> </repository>
</repositories> </repositories>
</project> </project>

View File

@ -1,26 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?><project> <?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>MNG-2861</artifactId> <artifactId>MNG-2861</artifactId>
<groupId>org.apache.maven.its.mng2861</groupId> <groupId>org.apache.maven.its.mng2861</groupId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>B</artifactId> <artifactId>B</artifactId>
<name>B</name>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>B</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>oldgroupId</groupId> <groupId>org.apache.maven.its.mng2861.old</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<version>[1.2,)</version> <version>[1.2,)</version>
</dependency> </dependency>
</dependencies> </dependencies>
<repositories> <repositories>
<repository> <repository>
<id>id</id> <id>id</id>
<url>file://localhost/${basedir}/../../repo</url> <url>file://localhost/${basedir}/../../repo</url>
<releases><enabled>true</enabled></releases> <releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository> </repository>
</repositories> </repositories>
</project> </project>

View File

@ -1,26 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?><project> <?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>MNG-2861</artifactId> <artifactId>MNG-2861</artifactId>
<groupId>org.apache.maven.its.mng2861</groupId> <groupId>org.apache.maven.its.mng2861</groupId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>C</artifactId> <artifactId>C</artifactId>
<name>C</name>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>C</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>newgroupId</groupId> <groupId>org.apache.maven.its.mng2861.new</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<version>[2.0,3.0)</version> <version>[2.0,3.0)</version>
</dependency> </dependency>
</dependencies> </dependencies>
<repositories> <repositories>
<repository> <repository>
<id>id</id> <id>id</id>
<url>file:///${basedir}/../../repo</url> <url>file:///${basedir}/../../repo</url>
<releases><enabled>true</enabled></releases> <releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository> </repository>
</repositories> </repositories>
</project> </project>

View File

@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its.mng2861</groupId> <groupId>org.apache.maven.its.mng2861</groupId>
<artifactId>MNG-2861</artifactId> <artifactId>MNG-2861</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>MNG-2861</name> <name>MNG-2861</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -15,6 +18,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<modules> <modules>
<module>A</module> <module>A</module>
<module>B</module> <module>B</module>

View File

@ -1 +0,0 @@
c1ee3de58820c588e73422f4d2068573edbe6fab

View File

@ -1 +0,0 @@
f43a739fc913e9e09c9d16d38b754c0e095e3b4c

View File

@ -1 +0,0 @@
79a503103228c65c8fc4f577d3e6bc8df7d58e70

View File

@ -1 +0,0 @@
0f7ed4c92aabbd653f7abd9e3cac5a61c75ff716

View File

@ -1 +0,0 @@
759ce44fb6af0b8a351dc60c6d00d3ab1db9a59a

View File

@ -1 +0,0 @@
7e896d2fa550520989f4a4475b4df57eb0edea60

View File

@ -1 +0,0 @@
f557bd0f2499ad748723cab496b1027f5964faf3

View File

@ -1 +0,0 @@
b530516717ab5b3052fd3cdca860fc28574bd718

View File

@ -1 +0,0 @@
4176be3635903857072ddb7974e3ae44a1548048

View File

@ -1 +0,0 @@
MD5 (project-1.2.pom) = 5eb6d8e0d2e97515f072e3844d767c82

View File

@ -1 +0,0 @@
b8bcd7b551babda9b1c5e73db4c92246bb41be3aSHA1(project-1.2.pom)= 4d453b0c3fe9970a2124d3abc2bd2260c9ec9bba

View File

@ -1 +0,0 @@
32932f915794448efaed9c42a416129343e1a97d

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>newgroupId</groupId> <groupId>org.apache.maven.its.mng2861.new</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.2</version> <version>1.2</version>

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>newgroupId</groupId> <groupId>org.apache.maven.its.mng2861.new</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>2.0</version> <version>2.0</version>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><metadata> <?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>newgroupId</groupId> <groupId>org.apache.maven.its.mng2861.new</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<version>1.2</version> <version>1.2</version>
<versioning> <versioning>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><project> <?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>oldgroupId</groupId> <groupId>org.apache.maven.its.mng2861.old</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<name>project</name> <name>project</name>
<version>1.0</version> <version>1.0</version>

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>oldgroupId</groupId> <groupId>org.apache.maven.its.mng2861.old</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1</version> <version>1.1</version>

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>oldgroupId</groupId> <groupId>org.apache.maven.its.mng2861.old</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.2</version> <version>1.2</version>
@ -21,7 +21,7 @@
<url>file://localhost/${basedir}/../repository</url> <url>file://localhost/${basedir}/../repository</url>
</repository> </repository>
<relocation> <relocation>
<groupId>newgroupId</groupId> <groupId>org.apache.maven.its.mng2861.new</groupId>
</relocation> </relocation>
</distributionManagement> </distributionManagement>
</project> </project>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><metadata> <?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>oldgroupId</groupId> <groupId>org.apache.maven.its.mng2861.old</groupId>
<artifactId>project</artifactId> <artifactId>project</artifactId>
<version>1.1</version> <version>1.1</version>
<versioning> <versioning>