Initial revision

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-06-17 19:36:01 +00:00
parent 1b24da6163
commit 84647e0f22
7 changed files with 72 additions and 0 deletions

View File

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

View File

@ -0,0 +1,5 @@
target/classes/org/apache/maven/it0001/Person.class
target/test-classes/org/apache/maven/it0001/PersonTest.class
target/maven-core-it0001-1.0.jar
target/maven-core-it0001-1.0.jar!/it0001.properties
${maven.repo.local}/maven/jars/maven-it-support-1.0.jar

View File

@ -0,0 +1,18 @@
<project>
<groupId>maven</groupId>
<artifactId>maven-core-it0001</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
</dependency>
<dependency>
<groupId>maven</groupId>
<artifactId>maven-it-support</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,7 @@
#!/bin/sh
repoLocal=`cat $HOME/build.properties | grep "maven.repo.local" | sed 's/^.*= *//'`
echo "Removing maven-it-support-1.0.jar from the local repository so we can verify its downloading ..."
rm -f $repoLocal/maven/jars/maven-it-support-1.0.jar > /dev/null 2>&1

View File

@ -0,0 +1,16 @@
package org.apache.maven.it0001;
public class Person
{
private String name;
public void setName( String name )
{
this.name = name;
}
public String getName()
{
return name;
}
}

View File

@ -0,0 +1 @@
name = jason

View File

@ -0,0 +1,16 @@
package org.apache.maven.it0001;
import junit.framework.TestCase;
public class PersonTest
extends TestCase
{
public void testPerson()
{
Person person = new Person();
person.setName( "foo" );
assertEquals( "foo", person.getName() );
}
}