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:
Brett Leslie Porter 2005-03-07 08:52:39 +00:00
parent 8c6292c23f
commit 2ec22909c6
15 changed files with 8 additions and 82 deletions

View File

@ -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
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
part of the process.

View File

@ -8,7 +8,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -8,7 +8,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -8,7 +8,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>maven</groupId>

View File

@ -8,7 +8,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

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

View File

@ -1 +0,0 @@
compile

View File

@ -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>

View File

@ -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;
}
}

View File

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

View File

@ -13,7 +13,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -8,7 +8,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -13,7 +13,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -8,7 +8,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>test</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>