You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by gs...@apache.org on 2009/11/10 22:13:23 UTC

svn commit: r834670 - in /lucene/mahout/trunk: core/pom.xml pom.xml

Author: gsingers
Date: Tue Nov 10 21:13:23 2009
New Revision: 834670

URL: http://svn.apache.org/viewvc?rev=834670&view=rev
Log:
more mvn fun

Modified:
    lucene/mahout/trunk/core/pom.xml
    lucene/mahout/trunk/pom.xml

Modified: lucene/mahout/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/pom.xml?rev=834670&r1=834669&r2=834670&view=diff
==============================================================================
--- lucene/mahout/trunk/core/pom.xml (original)
+++ lucene/mahout/trunk/core/pom.xml Tue Nov 10 21:13:23 2009
@@ -407,6 +407,139 @@
 
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins> 
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <configuration>
+              <url>${deploy.url}</url>
+              <repositoryId>mahout.dist</repositoryId>
+            </configuration>
+
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+              <execution>
+                <id>create-hadoop-core-artifact</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/hadoop-core-${hadoop.version}.jar</file>
+                  <groupId>org.apache.mahout.hadoop</groupId>
+                  <artifactId>hadoop-core</artifactId>
+                  <packaging>jar</packaging>
+                  <version>${hadoop.version}</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+              <execution>
+                <id>create-kfs-artifact</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/kfs-${kfs.version}.jar</file>
+                  <groupId>org.apache.mahout.kosmofs</groupId>
+                  <artifactId>kfs</artifactId>
+                  <packaging>jar</packaging>
+                  <version>${kfs.version}</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+              <execution>
+                <id>create-jets3t-artifact</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/jets3t-${jets3t.version}.jar</file>
+                  <groupId>org.apache.mahout.jets3t</groupId>
+                  <artifactId>jets3t</artifactId>
+                  <packaging>jar</packaging>
+                  <version>${jets3t.version}</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+              <execution>
+                <id>create-watchmaker-framework-artifact</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/watchmaker-framework-${watchmaker.version}.jar</file>
+                  <groupId>org.apache.mahout.watchmaker</groupId>
+                  <artifactId>watchmaker-framework</artifactId>
+                  <packaging>jar</packaging>
+                  <version>${watchmaker.version}</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+              <execution>
+                <id>create-watchmaker-swing-artifact</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/watchmaker-swing-${watchmaker.version}.jar</file>
+                  <groupId>org.apache.mahout.watchmaker</groupId>
+                  <artifactId>watchmaker-swing</artifactId>
+                  <packaging>jar</packaging>
+                  <version>${watchmaker.version}</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+              <execution>
+                <id>create-uncommons-math-artifact</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/uncommons-maths-${uncommons.maths.version}.jar</file>
+                  <groupId>org.apache.mahout.uncommons.math</groupId>
+                  <artifactId>uncommons-math</artifactId>
+                  <packaging>jar</packaging>
+                  <version>${uncommons.maths.version}</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+              <execution>
+                <id>create-commons-cli</id>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>sign-and-deploy-file</goal>
+                </goals>
+                <configuration>
+                  <file>core/lib/commons-cli-2.0-mahout.jar</file>
+                  <groupId>org.apache.mahout.commons</groupId>
+                  <artifactId>commons-cli</artifactId>
+                  <packaging>jar</packaging>
+                  <version>2.0-mahout</version>
+                  <generatePom>true</generatePom>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 
 
   <dependencies>

Modified: lucene/mahout/trunk/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/pom.xml?rev=834670&r1=834669&r2=834670&view=diff
==============================================================================
--- lucene/mahout/trunk/pom.xml (original)
+++ lucene/mahout/trunk/pom.xml Tue Nov 10 21:13:23 2009
@@ -214,7 +214,7 @@
               </execution>
             </executions>
           </plugin>
-          
+
           <!--<plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-doap-plugin</artifactId>