adding integration test for single buildnumber per g:a

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239220 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-08-22 19:03:31 +00:00
parent 146e022327
commit cd48181144
7 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1 @@
--check-plugin-latest --no-plugin-registry

View File

@ -0,0 +1,2 @@
target/maven-core-it0051-1.0.jar
!target/maven-core-it0051-1.0-sources.jar

View File

@ -0,0 +1 @@
package

View File

@ -0,0 +1,23 @@
<model>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.it</groupId>
<artifactId>maven-core-it0053</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>test</id>
<url>file:target/test-repo</url>
</snapshotRepository>
</distributionManagement>
</model>

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