mirror of https://github.com/apache/maven.git
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:
parent
1e8029bb6c
commit
bbbf2daa0c
|
@ -24,10 +24,10 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
|
||||
public class MavenITmng2861RelocationsAndRangesTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
public MavenITmng2861RelocationsAndRangesTest()
|
||||
{
|
||||
super( "(2.0.8,)" );
|
||||
|
@ -36,30 +36,12 @@ public class MavenITmng2861RelocationsAndRangesTest
|
|||
public void testitMNG2861()
|
||||
throws Exception
|
||||
{
|
||||
|
||||
|
||||
// The testdir is computed from the location of this
|
||||
// file.
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2861" );
|
||||
|
||||
Verifier verifier;
|
||||
|
||||
/*
|
||||
* 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 verifier = new Verifier( new File( testDir, "MNG-2861" ).getAbsolutePath() );
|
||||
verifier.deleteArtifacts( "org.apache.maven.its.mng2861" );
|
||||
verifier.executeGoal( "install" );
|
||||
|
||||
verifier.verifyErrorFreeLog();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
<artifactId>MNG-2861</artifactId>
|
||||
<groupId>org.apache.maven.its.mng2861</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>A</artifactId>
|
||||
<name>A</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<name>A</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.its.mng2861</groupId>
|
||||
|
@ -21,11 +26,17 @@
|
|||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>id</id>
|
||||
<url>file:///${basedir}/../../repo</url>
|
||||
<releases><enabled>true</enabled></releases>
|
||||
<releases>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
|
|
@ -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>
|
||||
<artifactId>MNG-2861</artifactId>
|
||||
<groupId>org.apache.maven.its.mng2861</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>B</artifactId>
|
||||
<name>B</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<name>B</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>oldgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.old</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>[1.2,)</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>id</id>
|
||||
<url>file://localhost/${basedir}/../../repo</url>
|
||||
<releases><enabled>true</enabled></releases>
|
||||
<releases>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
|
|
@ -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>
|
||||
<artifactId>MNG-2861</artifactId>
|
||||
<groupId>org.apache.maven.its.mng2861</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>C</artifactId>
|
||||
<name>C</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<name>C</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>newgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.new</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>[2.0,3.0)</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>id</id>
|
||||
<url>file:///${basedir}/../../repo</url>
|
||||
<releases><enabled>true</enabled></releases>
|
||||
<releases>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
<?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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.apache.maven.its.mng2861</groupId>
|
||||
<artifactId>MNG-2861</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>MNG-2861</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
@ -15,6 +18,7 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<modules>
|
||||
<module>A</module>
|
||||
<module>B</module>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
1fe5ef0ab6b4d1c8926341f2035f50a4
|
|
@ -1 +0,0 @@
|
|||
c1ee3de58820c588e73422f4d2068573edbe6fab
|
|
@ -1 +0,0 @@
|
|||
7938848539389e07b287b4d8738e1860
|
|
@ -1 +0,0 @@
|
|||
f43a739fc913e9e09c9d16d38b754c0e095e3b4c
|
|
@ -1 +0,0 @@
|
|||
595b0dfde7fe78e157b281ad19a7b213
|
|
@ -1 +0,0 @@
|
|||
79a503103228c65c8fc4f577d3e6bc8df7d58e70
|
|
@ -1 +0,0 @@
|
|||
bf5da02b56db7086721b3126655a274f
|
|
@ -1 +0,0 @@
|
|||
0f7ed4c92aabbd653f7abd9e3cac5a61c75ff716
|
|
@ -1 +0,0 @@
|
|||
26802cd7695d5cba3ce55a445a3a4d38
|
|
@ -1 +0,0 @@
|
|||
759ce44fb6af0b8a351dc60c6d00d3ab1db9a59a
|
|
@ -1 +0,0 @@
|
|||
884943b7d020cb76bb37e1001d826d52
|
|
@ -1 +0,0 @@
|
|||
7e896d2fa550520989f4a4475b4df57eb0edea60
|
|
@ -1 +0,0 @@
|
|||
5fe2afcb15ffe718ffe2c36fb278ddbb
|
|
@ -1 +0,0 @@
|
|||
f557bd0f2499ad748723cab496b1027f5964faf3
|
|
@ -1 +0,0 @@
|
|||
b82f272080a0377c34d890a195812b26
|
|
@ -1 +0,0 @@
|
|||
b530516717ab5b3052fd3cdca860fc28574bd718
|
|
@ -1 +0,0 @@
|
|||
f2b6f8fa5226132008569b73dd95f69f
|
|
@ -1 +0,0 @@
|
|||
4176be3635903857072ddb7974e3ae44a1548048
|
|
@ -1 +0,0 @@
|
|||
MD5 (project-1.2.pom) = 5eb6d8e0d2e97515f072e3844d767c82
|
|
@ -1 +0,0 @@
|
|||
b8bcd7b551babda9b1c5e73db4c92246bb41be3aSHA1(project-1.2.pom)= 4d453b0c3fe9970a2124d3abc2bd2260c9ec9bba
|
|
@ -1 +0,0 @@
|
|||
7b6a16f3694d56298ba7e6f18736c52c
|
|
@ -1 +0,0 @@
|
|||
32932f915794448efaed9c42a416129343e1a97d
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
<groupId>newgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.new</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.2</version>
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
<groupId>newgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.new</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.0</version>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><metadata>
|
||||
<groupId>newgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.new</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>1.2</version>
|
||||
<versioning>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>oldgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.old</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<name>project</name>
|
||||
<version>1.0</version>
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
<groupId>oldgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.old</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1</version>
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
<groupId>oldgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.old</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.2</version>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<url>file://localhost/${basedir}/../repository</url>
|
||||
</repository>
|
||||
<relocation>
|
||||
<groupId>newgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.new</groupId>
|
||||
</relocation>
|
||||
</distributionManagement>
|
||||
</project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><metadata>
|
||||
<groupId>oldgroupId</groupId>
|
||||
<groupId>org.apache.maven.its.mng2861.old</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>1.1</version>
|
||||
<versioning>
|
Loading…
Reference in New Issue