mirror of https://github.com/apache/maven.git
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:
parent
40734471d8
commit
c9bf7d2052
|
@ -0,0 +1,9 @@
|
|||
*~
|
||||
*.log
|
||||
target
|
||||
*.ipr
|
||||
*.iws
|
||||
dist
|
||||
target
|
||||
.classpath
|
||||
.project
|
|
@ -0,0 +1 @@
|
|||
target/touch.txt
|
|
@ -0,0 +1 @@
|
|||
compiler:compile
|
|
@ -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>
|
|
@ -0,0 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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() );
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue