diff --git a/maven-core-integration-tests/src/test/resources/it0039/project/pom.xml b/maven-core-integration-tests/src/test/resources/it0039/project/pom.xml new file mode 100644 index 0000000000..dadf187ae2 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project/pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + org.apache.maven + maven-core-it0039-p1 + jar + 1.0-SNAPSHOT + + + junit + junit + 3.8.1 + jar + test + + + diff --git a/maven-core-integration-tests/src/test/resources/it0039/project/release-pom.xml b/maven-core-integration-tests/src/test/resources/it0039/project/release-pom.xml new file mode 100644 index 0000000000..8dca614880 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project/release-pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + org.apache.maven + maven-core-it0039-p1 + jar + 1.0 + + + junit + junit + 3.8.1 + jar + test + + + diff --git a/maven-core-integration-tests/src/test/resources/it0039/project/src/main/java/org/apache/maven/it0000/Person.java b/maven-core-integration-tests/src/test/resources/it0039/project/src/main/java/org/apache/maven/it0000/Person.java new file mode 100644 index 0000000000..a9fb4bc9d2 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project/src/main/java/org/apache/maven/it0000/Person.java @@ -0,0 +1,16 @@ +package org.apache.maven.it0000; + +public class Person +{ + private String name; + + public void setName( String name ) + { + this.name = name; + } + + public String getName() + { + return name; + } +} diff --git a/maven-core-integration-tests/src/test/resources/it0039/project/src/test/java/org/apache/maven/it0000/PersonTest.java b/maven-core-integration-tests/src/test/resources/it0039/project/src/test/java/org/apache/maven/it0000/PersonTest.java new file mode 100644 index 0000000000..354f917f46 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project/src/test/java/org/apache/maven/it0000/PersonTest.java @@ -0,0 +1,16 @@ +package org.apache.maven.it0000; + +import junit.framework.TestCase; + +public class PersonTest + extends TestCase +{ + public void testPerson() + { + Person person = new Person(); + + person.setName( "foo" ); + + assertEquals( "foo", person.getName() ); + } +} diff --git a/maven-core-integration-tests/src/test/resources/it0039/project2/pom.xml b/maven-core-integration-tests/src/test/resources/it0039/project2/pom.xml new file mode 100644 index 0000000000..dffc9b1023 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project2/pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + org.apache.maven + maven-core-it0039-p2 + jar + 1.0-SNAPSHOT + + + junit + junit + 3.8.1 + jar + test + + + diff --git a/maven-core-integration-tests/src/test/resources/it0039/project2/release-pom.xml b/maven-core-integration-tests/src/test/resources/it0039/project2/release-pom.xml new file mode 100644 index 0000000000..3a6e6a42e1 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project2/release-pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + org.apache.maven + maven-core-it0039-p2 + jar + 1.0 + + + junit + junit + 3.8.1 + jar + test + + + diff --git a/maven-core-integration-tests/src/test/resources/it0039/project2/src/main/java/org/apache/maven/it0000/Person.java b/maven-core-integration-tests/src/test/resources/it0039/project2/src/main/java/org/apache/maven/it0000/Person.java new file mode 100644 index 0000000000..a9fb4bc9d2 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project2/src/main/java/org/apache/maven/it0000/Person.java @@ -0,0 +1,16 @@ +package org.apache.maven.it0000; + +public class Person +{ + private String name; + + public void setName( String name ) + { + this.name = name; + } + + public String getName() + { + return name; + } +} diff --git a/maven-core-integration-tests/src/test/resources/it0039/project2/src/test/java/org/apache/maven/it0000/PersonTest.java b/maven-core-integration-tests/src/test/resources/it0039/project2/src/test/java/org/apache/maven/it0000/PersonTest.java new file mode 100644 index 0000000000..354f917f46 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0039/project2/src/test/java/org/apache/maven/it0000/PersonTest.java @@ -0,0 +1,16 @@ +package org.apache.maven.it0000; + +import junit.framework.TestCase; + +public class PersonTest + extends TestCase +{ + public void testPerson() + { + Person person = new Person(); + + person.setName( "foo" ); + + assertEquals( "foo", person.getName() ); + } +}