mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r742513 - in /lucene/mahout/trunk: core/pom.xml examples/pom.xml maven/pom.xml pom.xml taste-web/pom.xml
Date Mon, 09 Feb 2009 14:13:28 GMT
Author: gsingers
Date: Mon Feb  9 14:13:27 2009
New Revision: 742513

URL: http://svn.apache.org/viewvc?rev=742513&view=rev
Log:
MAHOUT-104: bake in the NOTICE and LICENSE into the JARs, hook in DOAP creation

Modified:
    lucene/mahout/trunk/core/pom.xml
    lucene/mahout/trunk/examples/pom.xml
    lucene/mahout/trunk/maven/pom.xml
    lucene/mahout/trunk/pom.xml
    lucene/mahout/trunk/taste-web/pom.xml

Modified: lucene/mahout/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/pom.xml?rev=742513&r1=742512&r2=742513&view=diff
==============================================================================
--- lucene/mahout/trunk/core/pom.xml (original)
+++ lucene/mahout/trunk/core/pom.xml Mon Feb  9 14:13:27 2009
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -41,11 +42,39 @@
               <goal>test-jar</goal>
             </goals>
           </execution>
-
-
         </executions>
       </plugin>
-
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <encoding>UTF-8</encoding>
+        </configuration>
+        <executions>
+          <execution>
+            <id>copy-resources</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>
+                ${project.build.directory}/classes/META-INF
+              </outputDirectory>
+              <resources>
+                <resource>
+                  <directory>..</directory>
+                  <includes>
+                    <include>README.txt</include>
+                    <include>NOTICE.txt</include>
+                    <include>LICENSE.txt</include>
+                  </includes>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
 
       <!-- Copy dependencies with no official Maven artifacts from libs to local Maven
repository -->
       <plugin>
@@ -328,10 +357,10 @@
             <configuration>
               <tasks>
                 <ant antfile="../maven/build.xml" target="core-job">
-                  <property name="dest" value="${project.build.directory}" />
-                  <property name="fullnamever" value="${project.artifactId}-${project.version}"
/>
-                  <property name="core-lib" value="lib" />
-                  <property name="shared-lib" value="../lib" />
+                  <property name="dest" value="${project.build.directory}"/>
+                  <property name="fullnamever" value="${project.artifactId}-${project.version}"/>
+                  <property name="core-lib" value="lib"/>
+                  <property name="shared-lib" value="../lib"/>
                 </ant>
               </tasks>
 
@@ -376,8 +405,8 @@
           <argLine>-Xms256m -Xmx512m</argLine>
           <testFailureIgnore>false</testFailureIgnore>
           <skip>false</skip>
-          <includes />
-          <excludes />
+          <includes/>
+          <excludes/>
         </configuration>
       </plugin>
 

Modified: lucene/mahout/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/pom.xml?rev=742513&r1=742512&r2=742513&view=diff
==============================================================================
--- lucene/mahout/trunk/examples/pom.xml (original)
+++ lucene/mahout/trunk/examples/pom.xml Mon Feb  9 14:13:27 2009
@@ -20,6 +20,37 @@
   <build>
     <plugins>
       <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <encoding>UTF-8</encoding>
+        </configuration>
+        <executions>
+          <execution>
+            <id>copy-resources</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>
+                ${project.build.directory}/classes/META-INF
+              </outputDirectory>
+              <resources>
+                <resource>
+                  <directory>..</directory>
+                  <includes>
+                    <include>README.txt</include>
+                    <include>NOTICE.txt</include>
+                    <include>LICENSE.txt</include>
+                  </includes>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>

Modified: lucene/mahout/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/maven/pom.xml?rev=742513&r1=742512&r2=742513&view=diff
==============================================================================
--- lucene/mahout/trunk/maven/pom.xml (original)
+++ lucene/mahout/trunk/maven/pom.xml Mon Feb  9 14:13:27 2009
@@ -73,6 +73,7 @@
   <scm>
     <connection>scm:svn:https://svn.apache.org/repos/asf/lucene/mahout</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/lucene/mahout</developerConnection>
+    <url>https://svn.apache.org/repos/asf/lucene/mahout</url>
   </scm>
 
   <repositories>
@@ -119,19 +120,26 @@
 
   <build>
     <plugins>
-      <!--<plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-gpg-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>sign-artifacts</id>
-            <phase>deploy</phase>
-            <goals>
-              <goal>sign</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>-->
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <index>true</index>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+            <manifestEntries>
+              <Extension-Name>org.apache.mahout</Extension-Name>
+              <Built-By>${username}</Built-By>
+              <url>http://lucene.apache.org/mahout</url>
+            </manifestEntries>
+          </archive>
+        </configuration>
+
+      </plugin>
+      
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>

Modified: lucene/mahout/trunk/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/pom.xml?rev=742513&r1=742512&r2=742513&view=diff
==============================================================================
--- lucene/mahout/trunk/pom.xml (original)
+++ lucene/mahout/trunk/pom.xml Mon Feb  9 14:13:27 2009
@@ -43,6 +43,36 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-doap-plugin</artifactId>
+        <version>1.0</version>
+        <configuration>
+          <about>Apache Mahout is a machine learning library written in Java and designed
to scale by using Apache Hadoop and other high performance techniques.</about>
+         <doapOptions>
+           <programmingLanguage>java</programmingLanguage>
+           <category>library</category>
+           
+         </doapOptions>
+
+          <asfExtOptions>
+            <included>true</included>
+            <charter>Apache Mahout is a machine learning library written in Java and
designed to scale by using Apache Hadoop and other high performance techniques.</charter>
+            <pmc>http://lucene.apache.org</pmc>
+          </asfExtOptions>
+
+        </configuration>
+        <executions>
+          <execution>
+            <id>gen</id>
+            <phase>package</phase>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
     </plugins>
   </build>
 

Modified: lucene/mahout/trunk/taste-web/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/taste-web/pom.xml?rev=742513&r1=742512&r2=742513&view=diff
==============================================================================
--- lucene/mahout/trunk/taste-web/pom.xml (original)
+++ lucene/mahout/trunk/taste-web/pom.xml Mon Feb  9 14:13:27 2009
@@ -36,6 +36,37 @@
     </testResources>
     <plugins>
       <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <encoding>UTF-8</encoding>
+        </configuration>
+        <executions>
+          <execution>
+            <id>copy-resources</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>
+                ${project.build.directory}/classes/META-INF
+              </outputDirectory>
+              <resources>
+                <resource>
+                  <directory>..</directory>
+                  <includes>
+                    <include>README.txt</include>
+                    <include>NOTICE.txt</include>
+                    <include>LICENSE.txt</include>
+                  </includes>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-war-plugin</artifactId>
         <version>2.1-alpha-2</version>



Mime
View raw message