mirror of https://github.com/apache/maven.git
change type = test to scope = test
remove it0006, no longer valid (pre/postGoals) git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c6292c23f
commit
2ec22909c6
|
@ -19,9 +19,6 @@ it0004: The simplest of pom installation. We have a pom and we install it in
|
||||||
it0005: The simplest of pom installation. We have a snapshot pom and we install
|
it0005: The simplest of pom installation. We have a snapshot pom and we install
|
||||||
it in local repository.
|
it in local repository.
|
||||||
|
|
||||||
it0006: Simple goal decoration. We introduce a preGoal and a postGoal to the
|
|
||||||
'compiler:compile' goal.
|
|
||||||
|
|
||||||
it0007: We specify a parent in the POM and make sure that it is downloaded as
|
it0007: We specify a parent in the POM and make sure that it is downloaded as
|
||||||
part of the process.
|
part of the process.
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>maven</groupId>
|
<groupId>maven</groupId>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
*~
|
|
||||||
*.log
|
|
||||||
target
|
|
||||||
*.ipr
|
|
||||||
*.iws
|
|
||||||
dist
|
|
||||||
target
|
|
||||||
.classpath
|
|
||||||
.project
|
|
||||||
log.txt
|
|
|
@ -1 +0,0 @@
|
||||||
compile
|
|
|
@ -1,28 +0,0 @@
|
||||||
<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>clean:clean</attain>
|
|
||||||
</preGoal>
|
|
||||||
</preGoals>
|
|
||||||
|
|
||||||
<postGoals>
|
|
||||||
<postGoal>
|
|
||||||
<name>compiler:compile</name>
|
|
||||||
<attain>jar:jar</attain>
|
|
||||||
</postGoal>
|
|
||||||
</postGoals>
|
|
||||||
</project>
|
|
|
@ -1,16 +0,0 @@
|
||||||
package org.apache.maven.it0000;
|
|
||||||
|
|
||||||
public class Person
|
|
||||||
{
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
public void setName( String name )
|
|
||||||
{
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName()
|
|
||||||
{
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
package org.apache.maven.it0000;
|
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
|
||||||
|
|
||||||
public class PersonTest
|
|
||||||
extends TestCase
|
|
||||||
{
|
|
||||||
public void testPerson()
|
|
||||||
{
|
|
||||||
Person person = new Person();
|
|
||||||
|
|
||||||
person.setName( "foo" );
|
|
||||||
|
|
||||||
assertEquals( "foo", person.getName() );
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -13,7 +13,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<type>test</type>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue