Initial revision

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163146 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-09-23 17:00:41 +00:00
parent 40734471d8
commit c9bf7d2052
7 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,9 @@
*~
*.log
target
*.ipr
*.iws
dist
target
.classpath
.project

View File

@ -0,0 +1 @@
target/touch.txt

View File

@ -0,0 +1 @@
compiler:compile

View File

@ -0,0 +1,22 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>maven</groupId>
<artifactId>maven-core-it0006</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
</dependency>
</dependencies>
<preGoals>
<preGoal>
<name>compiler:compile</name>
<attain>core-it:touch</attain>
</preGoal>
</preGoals>
</project>

View File

@ -0,0 +1 @@
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar

View File

@ -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;
}
}

View File

@ -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() );
}
}