add integration test for MNG-820

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326271 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-18 22:09:33 +00:00
parent 7d4f80ac8f
commit afdc3bd4af
10 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,12 @@
test-component-a/target/test-component-a-0.1.jar
test-component-b/target/test-component-b-0.1.jar
test-component-c/target/test-component-c-0.1.war
test-component-c/target/test-component-c-0.1.war!/WEB-INF/lib/test-component-a-0.1.jar
test-component-c/target/test-component-c-0.1.war!/WEB-INF/lib/test-component-b-0.1.jar
test-component-c/target/test-component-c-0.1.war!/WEB-INF/lib/maven-core-it-support-1.4.jar
test-component-c/target/test-component-c-0.1.war!/WEB-INF/lib/commons-io-1.0.jar
test-component-c/target/test-component-c-0.1/WEB-INF/lib/test-component-a-0.1.jar
test-component-c/target/test-component-c-0.1/WEB-INF/lib/test-component-b-0.1.jar
test-component-c/target/test-component-c-0.1/WEB-INF/lib/maven-core-it-support-1.4.jar
test-component-c/target/test-component-c-0.1/WEB-INF/lib/commons-io-1.0.jar
!test-component-c/target/test-component-c-0.1/WEB-INF/lib/commons-lang-1.0.jar

View File

@ -0,0 +1 @@
package

View File

@ -0,0 +1,14 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>test-components</artifactId>
<version>0.1</version>
<name>Test Components</name>
<packaging>pom</packaging>
<modules>
<module>test-component-c</module>
<module>test-component-b</module>
<module>test-component-a</module>
</modules>
</project>

View File

@ -0,0 +1,21 @@
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>test-components</artifactId>
<groupId>test</groupId>
<version>0.1</version>
</parent>
<groupId>test</groupId>
<artifactId>test-component-a</artifactId>
<version>0.1</version>
<name>Test Component A</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core-it-support</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,3 @@
public class A {
}

View File

@ -0,0 +1,22 @@
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>test-components</artifactId>
<groupId>test</groupId>
<version>0.1</version>
</parent>
<groupId>test</groupId>
<artifactId>test-component-b</artifactId>
<version>0.1</version>
<name>Test Component B</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core-it-support</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,4 @@
public class B
{
}

View File

@ -0,0 +1,28 @@
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>test-components</artifactId>
<groupId>test</groupId>
<version>0.1</version>
</parent>
<groupId>test</groupId>
<artifactId>test-component-c</artifactId>
<version>0.1</version>
<name>Test Component C</name>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>test-component-a</artifactId>
<version>0.1</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>test-component-b</artifactId>
<version>0.1</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,4 @@
public class C
{
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app >
</web-app>