Initial revision

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-06-18 02:08:22 +00:00
parent 362bd3866d
commit c273735623
12 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1 @@
jar:jar

View File

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

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/it0003/Person.class
target/test-classes/org/apache/maven/it0003/PersonTest.class
target/maven-core-it0003-1.0.jar
target/maven-core-it0003-1.0.jar!/it0003.properties
${maven.repo.local}/maven/jars/maven-core-it0003-1.0.jar

View File

@ -0,0 +1 @@
jar:install

View File

@ -0,0 +1,13 @@
<project>
<groupId>maven</groupId>
<artifactId>maven-core-it0003</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
</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-core-it0003-1.0.jar from the local repository so we can verify jar installation ..."
rm -f $repoLocal/maven/jars/maven-core-it0003-1.0.jar > /dev/null 2>&1

View File

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