You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ja...@apache.org on 2012/12/30 19:03:04 UTC
svn commit: r1426970 - /rave/trunk/rave-custom-project-archetype/pom.xml
Author: jasha
Date: Sun Dec 30 18:03:04 2012
New Revision: 1426970
URL: http://svn.apache.org/viewvc?rev=1426970&view=rev
Log:
RAVE-864 force local archetype repo
Modified:
rave/trunk/rave-custom-project-archetype/pom.xml
Modified: rave/trunk/rave-custom-project-archetype/pom.xml
URL: http://svn.apache.org/viewvc/rave/trunk/rave-custom-project-archetype/pom.xml?rev=1426970&r1=1426969&r2=1426970&view=diff
==============================================================================
--- rave/trunk/rave-custom-project-archetype/pom.xml (original)
+++ rave/trunk/rave-custom-project-archetype/pom.xml Sun Dec 30 18:03:04 2012
@@ -74,6 +74,11 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-archetype-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
@@ -84,6 +89,7 @@
</pluginManagement>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.2</version>
<extensions>true</extensions>
@@ -94,10 +100,10 @@
<version>1.7</version>
<executions>
<execution>
- <id>generate-and-install-gettingstarted</id>
+ <id>generate-and-install-custom-rave-project</id>
<phase>install</phase>
<configuration>
- <tasks>
+ <target>
<echo message="$$$$$$$$$$ Deleting the existing custom Rave project if it exists. $$$$$$$$$$"/>
<delete dir="${project.build.directory}/${customproject.app.artifactId}"/>
@@ -117,7 +123,9 @@
<include name="**/*.jar"/>
</fileset>
</classpath>
+ <arg value="-B"/>
<arg value="org.apache.maven.plugins:maven-archetype-plugin:2.2:generate"/>
+ <arg value="-DarchetypeCatalog=local"/>
<arg value="-DarchetypeGroupId=org.apache.rave"/>
<arg value="-DarchetypeArtifactId=rave-custom-project-archetype"/>
<arg value="-DarchetypeVersion=${project.version}"/>
@@ -146,7 +154,7 @@
</classpath>
<arg value="install"/>
</java>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>