You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by sg...@apache.org on 2008/07/21 18:31:30 UTC

svn commit: r678464 - /turbine/fulcrum/trunk/parent/pom.xml

Author: sgoeschl
Date: Mon Jul 21 09:31:29 2008
New Revision: 678464

URL: http://svn.apache.org/viewvc?rev=678464&view=rev
Log:
Added support for M1 repos using the 'maven-one-plugin'. During an 'install' the artifact will be stored in the M1 repo as well.

Modified:
    turbine/fulcrum/trunk/parent/pom.xml

Modified: turbine/fulcrum/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/parent/pom.xml?rev=678464&r1=678463&r2=678464&view=diff
==============================================================================
--- turbine/fulcrum/trunk/parent/pom.xml (original)
+++ turbine/fulcrum/trunk/parent/pom.xml Mon Jul 21 09:31:29 2008
@@ -109,6 +109,11 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-one-plugin</artifactId>
+          <version>1.2</version>
+        </plugin>        
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>2.0.4</version>
         </plugin>
@@ -244,6 +249,18 @@
           <tarLongFileMode>gnu</tarLongFileMode>
         </configuration>
       </plugin>      
+      <plugin>
+        <!-- install the artifact in a M1 local repository to simplify M2 migration -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-one-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>install-maven-one-repository</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>      
     </plugins>
   </build>