mirror of https://github.com/apache/maven.git
change the maven group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
80880d071e
commit
14bb2c805a
|
@ -4,4 +4,4 @@
|
|||
<artifactId>foo</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-1.x-integration</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven 1.x Compatibility</name>
|
||||
|
@ -20,4 +19,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-archetype</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype-core</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
|
@ -25,7 +24,7 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -39,4 +38,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Archetype Plugin</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-archetype-core</artifactId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-archetype</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype-site</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-archetypes</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype-mojo</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-archetypes</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype-quickstart</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-archetypes</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype-webapp</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-archetype</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetypes</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archetype</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-archiver</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<name>Maven Archiver</name>
|
||||
|
@ -16,22 +15,22 @@
|
|||
<version>1.0-alpha-1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven</name>
|
||||
|
@ -34,4 +33,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -247,7 +247,7 @@ public abstract class ArtifactComponentTestCase
|
|||
|
||||
protected Artifact createArtifact( String artifactId, String version, String type )
|
||||
{
|
||||
return new DefaultArtifact( "maven", artifactId, version, type );
|
||||
return new DefaultArtifact( "org.apache.maven", artifactId, version, type );
|
||||
}
|
||||
|
||||
protected Artifact createArtifact( String groupId, String artifactId, String version, String type )
|
||||
|
|
|
@ -229,7 +229,7 @@ public abstract class NewLayoutArtifactComponentTestCase
|
|||
|
||||
protected Artifact createArtifact( String artifactId, String version, String type )
|
||||
{
|
||||
return new DefaultArtifact( "maven", artifactId, version, type );
|
||||
return new DefaultArtifact( "org.apache.maven", artifactId, version, type );
|
||||
}
|
||||
|
||||
protected Artifact createArtifact( String groupId, String artifactId, String version, String type )
|
||||
|
|
|
@ -147,7 +147,7 @@ public class ArtifactResolverTest
|
|||
|
||||
if ( artifact.getArtifactId().equals( "g" ) )
|
||||
{
|
||||
dependencies.add( createArtifact( "maven", "h", "1.0", "jar" ) );
|
||||
dependencies.add( createArtifact( "org.apache.maven", "h", "1.0", "jar" ) );
|
||||
}
|
||||
|
||||
return dependencies;
|
||||
|
@ -184,7 +184,7 @@ public class ArtifactResolverTest
|
|||
|
||||
if ( artifact.getArtifactId().equals( "i" ) )
|
||||
{
|
||||
dependencies.add( createArtifact( "maven", "j", "1.0", "jar" ) );
|
||||
dependencies.add( createArtifact( "org.apache.maven", "j", "1.0", "jar" ) );
|
||||
}
|
||||
|
||||
return dependencies;
|
||||
|
|
|
@ -147,7 +147,7 @@ public class NewLayoutArtifactResolverTest
|
|||
|
||||
if ( artifact.getArtifactId().equals( "g" ) )
|
||||
{
|
||||
dependencies.add( createArtifact( "maven", "h", "1.0", "jar" ) );
|
||||
dependencies.add( createArtifact( "org.apache.maven", "h", "1.0", "jar" ) );
|
||||
}
|
||||
|
||||
return dependencies;
|
||||
|
@ -184,7 +184,7 @@ public class NewLayoutArtifactResolverTest
|
|||
|
||||
if ( artifact.getArtifactId().equals( "i" ) )
|
||||
{
|
||||
dependencies.add( createArtifact( "maven", "j", "1.0", "jar" ) );
|
||||
dependencies.add( createArtifact( "org.apache.maven", "j", "1.0", "jar" ) );
|
||||
}
|
||||
|
||||
return dependencies;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven</name>
|
||||
|
@ -8,14 +8,14 @@
|
|||
<inceptionYear>2001</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -85,7 +85,7 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>wagon-http-lightweight</artifactId>
|
||||
<version>0.9-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -113,4 +113,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-core-it-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Core Integration Test Plugin</name>
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-it-support</artifactId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it-support</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>repo1</id>
|
||||
<name>Maven Central Repository</name>
|
||||
<url>scp://repo1.maven.org/home/projects/maven/repository/ibiblio-v2</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</model>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it-verifier</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0000</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -13,4 +13,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0001</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -13,4 +13,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -2,4 +2,4 @@ target/classes/org/apache/maven/it0002/Person.class
|
|||
target/test-classes/org/apache/maven/it0002/PersonTest.class
|
||||
target/maven-core-it0002-1.0.jar
|
||||
target/maven-core-it0002-1.0.jar!/it0002.properties
|
||||
${localRepository}/maven/jars/maven-it-support-1.0.jar
|
||||
${localRepository}/org.apache.maven/jars/maven-core-it-support-1.0.jar
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0002</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -13,11 +13,11 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-it-support</artifactId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it-support</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/jars/maven-it-support-1.0.jar
|
||||
rm ${localRepository}/org.apache.maven/jars/maven-core-it-support-1.0.jar
|
||||
|
|
|
@ -2,4 +2,4 @@ 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
|
||||
${localRepository}/maven/jars/maven-core-it0003-1.0.jar
|
||||
${localRepository}/org.apache.maven/jars/maven-core-it0003-1.0.jar
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0003</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -13,4 +13,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/jars/maven-core-it0003-1.0.jar
|
||||
rm ${localRepository}/org.apache.maven/jars/maven-core-it0003-1.0.jar
|
||||
|
|
|
@ -1 +1 @@
|
|||
${localRepository}/maven/poms/maven-core-it0004-1.0.pom
|
||||
${localRepository}/org.apache.maven/poms/maven-core-it0004-1.0.pom
|
||||
|
|
|
@ -1 +1 @@
|
|||
pom:install
|
||||
install:install
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0004</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/poms/maven-core-it0004-1.0.pom
|
||||
rm ${localRepository}/org.apache.maven/poms/maven-core-it0004-1.0.pom
|
||||
|
|
|
@ -1 +1 @@
|
|||
${localRepository}/maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom
|
||||
${localRepository}/org.apache.maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom
|
||||
|
|
|
@ -1 +1 @@
|
|||
pom:install
|
||||
install:install
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0005</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom
|
||||
rm ${localRepository}/org.apache.maven/poms/maven-core-it0005-1.0-SNAPSHOT.pom
|
||||
|
|
|
@ -2,4 +2,4 @@ target/classes/org/apache/maven/it0007/Person.class
|
|||
target/test-classes/org/apache/maven/it0007/PersonTest.class
|
||||
target/maven-core-it0007-1.0.jar
|
||||
target/maven-core-it0007-1.0.jar!/it0007.properties
|
||||
${localRepository}/maven/poms/maven-it-support-1.0.pom
|
||||
${localRepository}/org.apache.maven/poms/maven-core-it-support-1.0.pom
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-it-support-parent</artifactId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it-support-parent</artifactId>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-it-support</artifactId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it-support</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-it-support</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-core-it-support</artifactId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-core-it0007</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/poms/maven-it-support-parent-1.0.pom
|
||||
rm ${localRepository}/org.apache.maven/poms/maven-core-it-support-parent-1.0.pom
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0008</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -16,7 +16,7 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-core-it-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</plugin>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
rm ${localRepository}/org.apache.maven/maven-plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0009</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -16,7 +16,7 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-core-it-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<configuration>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
rm ${localRepository}/org.apache.maven/maven-plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0010</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -20,4 +20,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
rm ${localRepository}/org.apache.maven/maven-plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0011</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -36,4 +36,4 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
rm ${localRepository}/org.apache.maven/maven-plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0012</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.8.1</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -20,4 +20,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
rm ${localRepository}/org.apache.maven/maven-plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-it0013-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm ${localRepository}/maven/plugins/maven-it0013-plugin-1.0-SNAPSHOT.jar
|
||||
rm ${localRepository}/org.apache.maven/maven-plugins/maven-it0013-plugin-1.0-SNAPSHOT.jar
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-it0015-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-script-marmalade</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0016</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -8,10 +8,10 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0017</artifactId>
|
||||
<packaging>ejb</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -8,10 +8,10 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<projectX>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it1000</artifactId>
|
||||
<version>1.0</version>
|
||||
</project>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it1002</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it1003</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
@ -13,4 +13,4 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it0018</artifactId>
|
||||
<version>1.0</version>
|
||||
<distributionManagement>
|
||||
|
@ -18,4 +18,4 @@
|
|||
<version>1.0-alpha-2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven</name>
|
||||
|
@ -20,35 +19,35 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-settings</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -90,7 +89,7 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-script-marmalade</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -114,11 +113,11 @@
|
|||
<reports>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.reports</groupId>
|
||||
<artifactId>mail-lists</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.reports</groupId>
|
||||
<artifactId>dependencies</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
@ -129,4 +128,4 @@
|
|||
<url>scp://www.apache.org//www/maven.apache.org/m2</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -28,6 +28,8 @@ import org.apache.maven.monitor.event.EventDispatcher;
|
|||
import org.apache.maven.monitor.event.MavenEvents;
|
||||
import org.apache.maven.plugin.PluginExecutionException;
|
||||
import org.apache.maven.plugin.PluginManager;
|
||||
import org.apache.maven.plugin.DefaultPluginManager;
|
||||
import org.apache.maven.plugin.AbstractPlugin;
|
||||
import org.apache.maven.plugin.descriptor.MojoDescriptor;
|
||||
import org.apache.maven.plugin.descriptor.PluginDescriptor;
|
||||
import org.apache.maven.project.MavenProject;
|
||||
|
@ -106,9 +108,9 @@ public class DefaultLifecycleExecutor
|
|||
|
||||
if ( artifactHandler.additionalPlugin() != null )
|
||||
{
|
||||
String additionalPluginGroupId = "maven";
|
||||
String additionalPluginGroupId = AbstractPlugin.getDefaultPluginGroupId();
|
||||
|
||||
String additionalPluginArtifactId = "maven-" + artifactHandler.additionalPlugin() + "-plugin";
|
||||
String additionalPluginArtifactId = AbstractPlugin.getDefaultPluginArtifactId( artifactHandler.additionalPlugin() );
|
||||
|
||||
injectHandlerPluginConfiguration( project, additionalPluginGroupId, additionalPluginArtifactId );
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ public class DefaultPluginManager
|
|||
extends AbstractLogEnabled
|
||||
implements PluginManager, ComponentDiscoveryListener, Initializable, Contextualizable
|
||||
{
|
||||
// TODO: share with type handler
|
||||
static String MAVEN_PLUGIN = "maven-plugin";
|
||||
|
||||
protected Map mojoDescriptors;
|
||||
|
@ -207,7 +208,7 @@ public class DefaultPluginManager
|
|||
pluginId = pluginId.substring( 0, pluginId.indexOf( ":" ) );
|
||||
}
|
||||
|
||||
return "maven-" + pluginId + "-plugin";
|
||||
return AbstractPlugin.getDefaultPluginArtifactId( pluginId );
|
||||
}
|
||||
|
||||
// TODO: don't throw Exception
|
||||
|
@ -216,8 +217,7 @@ public class DefaultPluginManager
|
|||
{
|
||||
String pluginId = getPluginId( goalName );
|
||||
|
||||
// TODO: hardcoding of group ID/artifact ID
|
||||
verifyPlugin( "maven", pluginId, session );
|
||||
verifyPlugin( AbstractPlugin.getDefaultPluginGroupId(), pluginId, session );
|
||||
}
|
||||
|
||||
// TODO: don't throw Exception
|
||||
|
@ -267,9 +267,8 @@ public class DefaultPluginManager
|
|||
|
||||
artifactFactory = (ArtifactFactory) container.lookup( ArtifactFactory.ROLE );
|
||||
|
||||
// TODO: more hard coding here...
|
||||
Artifact pluginArtifact = artifactFactory.createArtifact( "maven", artifactId, version, null,
|
||||
"maven-plugin", null );
|
||||
Artifact pluginArtifact = artifactFactory.createArtifact( AbstractPlugin.getDefaultPluginGroupId(), artifactId,
|
||||
version, null, MAVEN_PLUGIN, null );
|
||||
|
||||
addPlugin( pluginArtifact, session );
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ public class MavenMojoDescriptor
|
|||
|
||||
public String getRole()
|
||||
{
|
||||
return "org.apache.maven.plugin.Plugin";
|
||||
return Plugin.ROLE;
|
||||
}
|
||||
|
||||
public String getRoleHint()
|
||||
|
@ -73,6 +73,6 @@ public class MavenMojoDescriptor
|
|||
|
||||
public String getComponentType()
|
||||
{
|
||||
return "maven-plugin";
|
||||
return DefaultPluginManager.MAVEN_PLUGIN;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ public interface MavenProjectBuilder
|
|||
{
|
||||
String ROLE = MavenProjectBuilder.class.getName();
|
||||
|
||||
static final String STANDALONE_SUPERPOM_GROUPID = "maven";
|
||||
static final String STANDALONE_SUPERPOM_GROUPID = "org.apache.maven";
|
||||
|
||||
static final String STANDALONE_SUPERPOM_ARTIFACTID = "super-pom";
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ public class CanonicalProjectBuilderTest
|
|||
|
||||
Plugin plugin = (Plugin) plugins.get( 0 );
|
||||
|
||||
assertEquals( "maven", plugin.getGroupId() );
|
||||
assertEquals( "org.apache.maven.plugins", plugin.getGroupId() );
|
||||
|
||||
assertEquals( "maven-plexus-plugin", plugin.getArtifactId() );
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ public class ReflectionValueExtractorTest
|
|||
|
||||
assertEquals( "4.0.0", ReflectionValueExtractor.evaluate( "project.modelVersion", project ) );
|
||||
|
||||
assertEquals( "maven", ReflectionValueExtractor.evaluate( "project.groupId", project ) );
|
||||
assertEquals( "org.apache.maven", ReflectionValueExtractor.evaluate( "project.groupId", project ) );
|
||||
|
||||
assertEquals( "maven-core", ReflectionValueExtractor.evaluate( "project.artifactId", project ) );
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven</name>
|
||||
|
@ -8,14 +8,14 @@
|
|||
<inceptionYear>2001</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -25,4 +25,4 @@
|
|||
<scm>
|
||||
<connection>scm-connection</connection>
|
||||
</scm>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-mboot</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven MBoot</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<description>Tool used to bootstrap m2.</description>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -53,13 +53,13 @@ public class MBoot
|
|||
"plexus/jars/plexus-container-default-1.0-alpha-2-SNAPSHOT.jar"};
|
||||
|
||||
String[] pluginGeneratorDeps = new String[]{"plexus/jars/plexus-container-default-1.0-alpha-2-SNAPSHOT.jar",
|
||||
"maven/jars/maven-core-2.0-SNAPSHOT.jar",
|
||||
"maven/jars/maven-artifact-2.0-SNAPSHOT.jar",
|
||||
"maven/jars/maven-model-2.0-SNAPSHOT.jar",
|
||||
"maven/jars/maven-plugin-2.0-SNAPSHOT.jar",
|
||||
"maven/jars/maven-plugin-tools-api-2.0-SNAPSHOT.jar",
|
||||
"maven/jars/maven-plugin-tools-java-2.0-SNAPSHOT.jar",
|
||||
"maven/jars/maven-plugin-tools-pluggy-2.0-SNAPSHOT.jar"};
|
||||
"org.apache.maven/jars/maven-core-2.0-SNAPSHOT.jar",
|
||||
"org.apache.maven/jars/maven-artifact-2.0-SNAPSHOT.jar",
|
||||
"org.apache.maven/jars/maven-model-2.0-SNAPSHOT.jar",
|
||||
"org.apache.maven/jars/maven-plugin-2.0-SNAPSHOT.jar",
|
||||
"org.apache.maven/jars/maven-plugin-tools-api-2.0-SNAPSHOT.jar",
|
||||
"org.apache.maven/jars/maven-plugin-tools-java-2.0-SNAPSHOT.jar",
|
||||
"org.apache.maven/jars/maven-plugin-tools-pluggy-2.0-SNAPSHOT.jar"};
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// These are modello's runtime dependencies
|
||||
|
@ -135,8 +135,6 @@ public class MBoot
|
|||
|
||||
private ArtifactDownloader downloader;
|
||||
|
||||
private ModelReader reader;
|
||||
|
||||
private String repoLocal;
|
||||
|
||||
private List mbootDependencies;
|
||||
|
@ -180,7 +178,7 @@ public class MBoot
|
|||
public void run( String[] args )
|
||||
throws Exception
|
||||
{
|
||||
reader = new ModelReader();
|
||||
ModelReader reader = new ModelReader();
|
||||
|
||||
String mavenRepoLocal = System.getProperty( "maven.repo.local" );
|
||||
|
||||
|
@ -324,15 +322,13 @@ public class MBoot
|
|||
|
||||
System.setProperty( "basedir", directory );
|
||||
|
||||
buildProject( directory, builds[i] );
|
||||
reader = buildProject( directory, builds[i] );
|
||||
|
||||
if ( reader.artifactId.equals( "maven-core" ) )
|
||||
{
|
||||
coreDeps = reader.getDependencies();
|
||||
}
|
||||
|
||||
reader.reset();
|
||||
|
||||
System.out.println( "--------------------------------------------------------------------" );
|
||||
}
|
||||
|
||||
|
@ -348,9 +344,7 @@ public class MBoot
|
|||
|
||||
System.setProperty( "basedir", directory );
|
||||
|
||||
buildProject( directory, pluginBuilds[i] );
|
||||
|
||||
reader.reset();
|
||||
reader = buildProject( directory, pluginBuilds[i] );
|
||||
|
||||
System.out.println( "--------------------------------------------------------------------" );
|
||||
}
|
||||
|
@ -434,7 +428,7 @@ public class MBoot
|
|||
|
||||
// Copy maven itself
|
||||
|
||||
FileUtils.copyFileToDirectory( repoLocal + "/maven/jars/maven-core-2.0-SNAPSHOT.jar", lib );
|
||||
FileUtils.copyFileToDirectory( repoLocal + "/org.apache.maven/jars/maven-core-2.0-SNAPSHOT.jar", lib );
|
||||
|
||||
System.out.println();
|
||||
|
||||
|
@ -475,11 +469,13 @@ public class MBoot
|
|||
System.out.println( "Finished at: " + fullStop );
|
||||
}
|
||||
|
||||
public void buildProject( String basedir, String projectId )
|
||||
public ModelReader buildProject( String basedir, String projectId )
|
||||
throws Exception
|
||||
{
|
||||
System.out.println( "Building project in " + basedir );
|
||||
|
||||
ModelReader reader = new ModelReader();
|
||||
|
||||
if ( !reader.parse( new File( basedir, "pom.xml" ) ) )
|
||||
{
|
||||
System.err.println( "Could not parse pom.xml" );
|
||||
|
@ -651,24 +647,26 @@ public class MBoot
|
|||
// Run tests
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
runTests( basedir, classes, testClasses );
|
||||
runTests( basedir, classes, testClasses, reader );
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Create JAR
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
createJar( classes, buildDir );
|
||||
createJar( classes, buildDir, reader );
|
||||
|
||||
installPom( basedir, repoLocal );
|
||||
installPom( basedir, repoLocal, reader );
|
||||
|
||||
if ( !reader.artifactId.equals( "maven-plugin" ) && reader.artifactId.endsWith( "plugin" ) )
|
||||
{
|
||||
installPlugin( basedir, repoLocal );
|
||||
installPlugin( basedir, repoLocal, reader );
|
||||
}
|
||||
else
|
||||
{
|
||||
installJar( basedir, repoLocal );
|
||||
installJar( basedir, repoLocal, reader );
|
||||
}
|
||||
|
||||
return reader;
|
||||
}
|
||||
|
||||
IsolatedClassLoader cl;
|
||||
|
@ -779,7 +777,7 @@ public class MBoot
|
|||
downloader.downloadDependencies( Arrays.asList( modelloDeps ) );
|
||||
}
|
||||
|
||||
private void createJar( String classes, String buildDir )
|
||||
private void createJar( String classes, String buildDir, ModelReader reader )
|
||||
throws Exception
|
||||
{
|
||||
JarMojo jarMojo = new JarMojo();
|
||||
|
@ -794,6 +792,8 @@ public class MBoot
|
|||
private void installPomFile( String repoLocal, File pomIn )
|
||||
throws Exception
|
||||
{
|
||||
ModelReader reader = new ModelReader();
|
||||
|
||||
if ( !reader.parse( pomIn ) )
|
||||
{
|
||||
System.err.println( "Could not parse pom.xml" );
|
||||
|
@ -807,16 +807,24 @@ public class MBoot
|
|||
|
||||
String groupId = reader.groupId;
|
||||
|
||||
if ( groupId == null )
|
||||
{
|
||||
groupId = reader.parentGroupId;
|
||||
}
|
||||
|
||||
if ( version == null )
|
||||
{
|
||||
version = reader.parentVersion;
|
||||
}
|
||||
|
||||
File pom = new File( repoLocal, "/" + groupId + "/poms/" + artifactId + "-" + version + ".pom" );
|
||||
|
||||
System.out.println( "Installing POM: " + pom );
|
||||
|
||||
FileUtils.copyFile( pomIn, pom );
|
||||
|
||||
reader.reset();
|
||||
}
|
||||
|
||||
private void installPom( String basedir, String repoLocal )
|
||||
private void installPom( String basedir, String repoLocal, ModelReader reader )
|
||||
throws Exception
|
||||
{
|
||||
String artifactId = reader.artifactId;
|
||||
|
@ -825,6 +833,16 @@ public class MBoot
|
|||
|
||||
String groupId = reader.groupId;
|
||||
|
||||
if ( groupId == null )
|
||||
{
|
||||
groupId = reader.parentGroupId;
|
||||
}
|
||||
|
||||
if ( version == null )
|
||||
{
|
||||
version = reader.parentVersion;
|
||||
}
|
||||
|
||||
File pom = new File( repoLocal, "/" + groupId + "/poms/" + artifactId + "-" + version + ".pom" );
|
||||
|
||||
System.out.println( "Installing POM: " + pom );
|
||||
|
@ -832,7 +850,7 @@ public class MBoot
|
|||
FileUtils.copyFile( new File( basedir, "pom.xml" ), pom );
|
||||
}
|
||||
|
||||
private void installJar( String basedir, String repoLocal )
|
||||
private void installJar( String basedir, String repoLocal, ModelReader reader )
|
||||
throws Exception
|
||||
{
|
||||
String artifactId = reader.artifactId;
|
||||
|
@ -841,6 +859,16 @@ public class MBoot
|
|||
|
||||
String groupId = reader.groupId;
|
||||
|
||||
if ( groupId == null )
|
||||
{
|
||||
groupId = reader.parentGroupId;
|
||||
}
|
||||
|
||||
if ( version == null )
|
||||
{
|
||||
version = reader.parentVersion;
|
||||
}
|
||||
|
||||
File jar = new File( repoLocal, "/" + groupId + "/jars/" + artifactId + "-" + version + ".jar" );
|
||||
|
||||
System.out.println( "Installing JAR: " + jar );
|
||||
|
@ -848,7 +876,7 @@ public class MBoot
|
|||
FileUtils.copyFile( new File( basedir, BUILD_DIR + "/" + artifactId + "-" + version + ".jar" ), jar );
|
||||
}
|
||||
|
||||
private void installPlugin( String basedir, String repoLocal )
|
||||
private void installPlugin( String basedir, String repoLocal, ModelReader reader )
|
||||
throws Exception
|
||||
{
|
||||
String artifactId = reader.artifactId;
|
||||
|
@ -857,6 +885,16 @@ public class MBoot
|
|||
|
||||
String groupId = reader.groupId;
|
||||
|
||||
if ( groupId == null )
|
||||
{
|
||||
groupId = reader.parentGroupId;
|
||||
}
|
||||
|
||||
if ( version == null )
|
||||
{
|
||||
version = reader.parentVersion;
|
||||
}
|
||||
|
||||
File jar = new File( repoLocal, "/" + groupId + "/maven-plugins/" + artifactId + "-" + version + ".jar" );
|
||||
|
||||
System.out.println( "Installing Plugin: " + jar );
|
||||
|
@ -864,7 +902,7 @@ public class MBoot
|
|||
FileUtils.copyFile( new File( basedir, BUILD_DIR + "/" + artifactId + "-" + version + ".jar" ), jar );
|
||||
}
|
||||
|
||||
private void runTests( String basedir, String classes, String testClasses )
|
||||
private void runTests( String basedir, String classes, String testClasses, ModelReader reader )
|
||||
throws Exception
|
||||
{
|
||||
SurefirePlugin testRunner = new SurefirePlugin();
|
||||
|
@ -881,7 +919,7 @@ public class MBoot
|
|||
|
||||
excludes.add( "**/*Abstract*.java" );
|
||||
|
||||
String reportsDir = new File( basedir, "target/test-reports" ).getAbsolutePath();
|
||||
String reportsDir = new File( basedir, "target/surefire-reports" ).getAbsolutePath();
|
||||
|
||||
boolean success = testRunner.execute( repoLocal, basedir, classes, testClasses, includes, excludes,
|
||||
classpath( reader.getDependencies(), null ), reportsDir );
|
||||
|
@ -1037,8 +1075,6 @@ public class MBoot
|
|||
{
|
||||
private SAXParserFactory saxFactory;
|
||||
|
||||
public abstract void reset();
|
||||
|
||||
public boolean parse( File file )
|
||||
{
|
||||
try
|
||||
|
@ -1124,11 +1160,6 @@ public class MBoot
|
|||
|
||||
private StringBuffer bodyText = new StringBuffer();
|
||||
|
||||
public void reset()
|
||||
{
|
||||
dependencies = new ArrayList();
|
||||
}
|
||||
|
||||
public List getRemoteRepositories()
|
||||
{
|
||||
return remoteRepositories;
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-meeper</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Meper</name>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
<description></description>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1948,7 +1948,7 @@
|
|||
<name>groupId</name>
|
||||
<version>4.0.0</version>
|
||||
<type>String</type>
|
||||
<defaultValue>maven</defaultValue>
|
||||
<defaultValue>org.apache.maven.plugins</defaultValue>
|
||||
</field>
|
||||
<field>
|
||||
<name>artifactId</name>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Model</name>
|
||||
|
@ -14,7 +14,7 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-modello-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<configuration>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<name>Maven Monitor</name>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Plugin Tools APIs</name>
|
||||
|
@ -19,28 +18,35 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -73,7 +73,7 @@ public class PluginXdocGenerator
|
|||
|
||||
w.addAttribute( "email", "dev@maven.apache.org" );
|
||||
|
||||
w.writeText( "Maven developement team." );
|
||||
w.writeText( "Maven development team." );
|
||||
|
||||
w.endElement();
|
||||
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-tools</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin-tools-java</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Plugin Tools for Java</name>
|
||||
|
@ -26,35 +25,35 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -68,4 +67,4 @@
|
|||
</testResource>
|
||||
</testResources>
|
||||
</build>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-tools</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin-tools-marmalade</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Plugin Tools for Marmalade</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -33,35 +32,35 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-script-marmalade</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -82,14 +81,14 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-settings</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-tools</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin-tools-pluggy</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Pluggy Simplistic Plugin Generator</name>
|
||||
|
@ -26,46 +25,46 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-java</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,25 +1,24 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin-tools</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Plugin Tools Base POM</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -40,4 +39,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Plugin</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -43,4 +42,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -85,4 +85,20 @@ public abstract class AbstractPlugin
|
|||
{
|
||||
throw new PluginExecutionException( "You must override execute() if you implement the new paradigm" );
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo remove - harcoding.
|
||||
*/
|
||||
public static String getDefaultPluginArtifactId( String id )
|
||||
{
|
||||
return "maven-" + id + "-plugin";
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo remove - harcoding.
|
||||
*/
|
||||
public static String getDefaultPluginGroupId()
|
||||
{
|
||||
return "org.apache.maven.plugins";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ import org.codehaus.plexus.configuration.PlexusConfiguration;
|
|||
import org.codehaus.plexus.configuration.PlexusConfigurationException;
|
||||
import org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration;
|
||||
import org.codehaus.plexus.util.xml.Xpp3DomBuilder;
|
||||
import org.apache.maven.plugin.AbstractPlugin;
|
||||
|
||||
import java.io.Reader;
|
||||
import java.util.ArrayList;
|
||||
|
@ -23,9 +24,8 @@ public class PluginDescriptorBuilder
|
|||
|
||||
PluginDescriptor pluginDescriptor = new PluginDescriptor();
|
||||
|
||||
// TODO: hardcoding
|
||||
pluginDescriptor.setGroupId( "maven" );
|
||||
pluginDescriptor.setArtifactId( "maven-" + c.getChild( "id" ).getValue() + "-plugin" );
|
||||
pluginDescriptor.setGroupId( AbstractPlugin.getDefaultPluginGroupId() );
|
||||
pluginDescriptor.setArtifactId( AbstractPlugin.getDefaultPluginArtifactId( c.getChild( "id" ).getValue() ) );
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Components
|
||||
|
|
|
@ -1,23 +1,22 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-assemble-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Assemble Plugin</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Clean Plugin</name>
|
||||
|
@ -13,7 +12,7 @@
|
|||
<inceptionYear>2001</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Compiler Plugin</name>
|
||||
|
@ -13,7 +12,7 @@
|
|||
<inceptionYear>2001</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Deploy Plugin</name>
|
||||
|
@ -13,28 +12,28 @@
|
|||
<inceptionYear>2004</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-settings</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -55,4 +54,4 @@
|
|||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven EJB Plugin</name>
|
||||
|
@ -26,28 +25,28 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-archiver</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Install Plugin</name>
|
||||
|
@ -13,21 +12,21 @@
|
|||
<inceptionYear>2004</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Jar Plugin</name>
|
||||
|
@ -26,28 +25,28 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-archiver</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-plugin-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven</name>
|
||||
|
@ -13,42 +12,42 @@
|
|||
<inceptionYear>2001</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-java</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-tools-marmalade</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,25 +1,24 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Resources Plugin</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven Surefire Plugin</name>
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>Maven War Plugin</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -33,28 +32,28 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-archiver</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-plugin-parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Maven Plugin</name>
|
||||
|
@ -34,14 +34,14 @@
|
|||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -66,4 +66,4 @@
|
|||
<url>scp://repo1.maven.org/home/projects/maven/repository/ibiblio-v2</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -2,16 +2,15 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-reporting-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<inceptionYear>2005</inceptionYear>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
@ -30,7 +29,7 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-plexus-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</plugin>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<model>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-repository-tools</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Repo Reaper</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -49,11 +49,11 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-script-root</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-script-marmalade</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Marmalade Mojo Support</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
|
@ -47,4 +47,4 @@
|
|||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -1,29 +1,28 @@
|
|||
<model>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-script-root</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Maven Script Support Root</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</model>
|
||||
</model>
|
||||
|
|
|
@ -2,17 +2,15 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-settings</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<name>Maven Local Settings Model</name>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-modello-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<goals>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -1,6 +1,6 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-component</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Maven Project</name>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue