diff --git a/maven-core-it/it0008/.cvsignore b/maven-core-it/it0008/.cvsignore new file mode 100644 index 0000000000..39c914ada7 --- /dev/null +++ b/maven-core-it/it0008/.cvsignore @@ -0,0 +1,9 @@ +*~ +*.log +target +*.ipr +*.iws +dist +target +.classpath +.project diff --git a/maven-core-it/it0008/expected-results.txt b/maven-core-it/it0008/expected-results.txt new file mode 100644 index 0000000000..b8952bf827 --- /dev/null +++ b/maven-core-it/it0008/expected-results.txt @@ -0,0 +1 @@ +target/touch.txt diff --git a/maven-core-it/it0008/goals.txt b/maven-core-it/it0008/goals.txt new file mode 100644 index 0000000000..5b0a687c02 --- /dev/null +++ b/maven-core-it/it0008/goals.txt @@ -0,0 +1 @@ +compiler:compile diff --git a/maven-core-it/it0008/pom.xml b/maven-core-it/it0008/pom.xml new file mode 100644 index 0000000000..f7ea438e81 --- /dev/null +++ b/maven-core-it/it0008/pom.xml @@ -0,0 +1,22 @@ + + 4.0.0 + maven + maven-core-it0006 + 1.0 + + + junit + junit + 3.8.1 + test + + + + + + compiler:compile + core-it:touch + + + + diff --git a/maven-core-it/it0008/prebuild-hook.txt b/maven-core-it/it0008/prebuild-hook.txt new file mode 100644 index 0000000000..283e4ea872 --- /dev/null +++ b/maven-core-it/it0008/prebuild-hook.txt @@ -0,0 +1 @@ +rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar diff --git a/maven-core-it/it0008/src/main/java/org/apache/maven/it0008/Person.java b/maven-core-it/it0008/src/main/java/org/apache/maven/it0008/Person.java new file mode 100644 index 0000000000..a1505362a2 --- /dev/null +++ b/maven-core-it/it0008/src/main/java/org/apache/maven/it0008/Person.java @@ -0,0 +1,16 @@ +package org.apache.maven.it0008; + +public class Person +{ + private String name; + + public void setName( String name ) + { + this.name = name; + } + + public String getName() + { + return name; + } +} diff --git a/maven-core-it/it0008/src/test/java/org/apache/maven/it0008/PersonTest.java b/maven-core-it/it0008/src/test/java/org/apache/maven/it0008/PersonTest.java new file mode 100644 index 0000000000..0a3c27cc3a --- /dev/null +++ b/maven-core-it/it0008/src/test/java/org/apache/maven/it0008/PersonTest.java @@ -0,0 +1,16 @@ +package org.apache.maven.it0008; + +import junit.framework.TestCase; + +public class PersonTest + extends TestCase +{ + public void testPerson() + { + Person person = new Person(); + + person.setName( "foo" ); + + assertEquals( "foo", person.getName() ); + } +}