You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by bi...@apache.org on 2010/03/19 02:44:49 UTC

svn commit: r925075 - in /lucene/mahout/trunk: collections-codegen-plugin/pom.xml collections/pom.xml core/pom.xml distribution/pom.xml examples/pom.xml math/pom.xml maven/pom.xml pom.xml taste-web/pom.xml utils/pom.xml

Author: bimargulies
Date: Fri Mar 19 01:44:48 2010
New Revision: 925075

URL: http://svn.apache.org/viewvc?rev=925075&view=rev
Log:
MAHOUT-338. Move the contents of maven/pom.xml to pom.xml. Clean up various duplications and problems in the process.

Removed:
    lucene/mahout/trunk/maven/pom.xml
Modified:
    lucene/mahout/trunk/collections-codegen-plugin/pom.xml
    lucene/mahout/trunk/collections/pom.xml
    lucene/mahout/trunk/core/pom.xml
    lucene/mahout/trunk/distribution/pom.xml
    lucene/mahout/trunk/examples/pom.xml
    lucene/mahout/trunk/math/pom.xml
    lucene/mahout/trunk/pom.xml
    lucene/mahout/trunk/taste-web/pom.xml
    lucene/mahout/trunk/utils/pom.xml

Modified: lucene/mahout/trunk/collections-codegen-plugin/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/collections-codegen-plugin/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/collections-codegen-plugin/pom.xml (original)
+++ lucene/mahout/trunk/collections-codegen-plugin/pom.xml Fri Mar 19 01:44:48 2010
@@ -2,10 +2,10 @@
 <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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
-    <artifactId>mahout-parent</artifactId>
     <groupId>org.apache.mahout</groupId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
   <groupId>org.apache.mahout</groupId>
   <artifactId>mahout-collection-codegen-plugin</artifactId>

Modified: lucene/mahout/trunk/collections/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/collections/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/collections/pom.xml (original)
+++ lucene/mahout/trunk/collections/pom.xml Fri Mar 19 01:44:48 2010
@@ -20,12 +20,6 @@
 <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>
-    <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
-    <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
-  </parent>
 
   <groupId>org.apache.mahout</groupId>
   <artifactId>mahout-collections</artifactId>
@@ -33,6 +27,13 @@
   <name>Mahout Collections</name>
   <description>Primitive-type collections based on CERN's Colt Java API</description>
 
+  <parent>
+    <groupId>org.apache.mahout</groupId>
+    <artifactId>mahout</artifactId>
+    <version>0.4-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
   <packaging>jar</packaging>
 
   <build>

Modified: lucene/mahout/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/core/pom.xml (original)
+++ lucene/mahout/trunk/core/pom.xml Fri Mar 19 01:44:48 2010
@@ -20,16 +20,17 @@
 <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>
 
+  <groupId>org.apache.mahout</groupId>
+  <artifactId>mahout-core</artifactId>
+  <version>0.4-SNAPSHOT</version>
+
   <parent>
     <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
-  <groupId>org.apache.mahout</groupId>
-  <artifactId>mahout-core</artifactId>
-  <version>0.4-SNAPSHOT</version>
   <name>Mahout Core</name>
   <description>Scalable machine learning libraries</description>
 

Modified: lucene/mahout/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/distribution/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/distribution/pom.xml (original)
+++ lucene/mahout/trunk/distribution/pom.xml Fri Mar 19 01:44:48 2010
@@ -22,9 +22,9 @@
 
   <parent>
     <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
   <groupId>org.apache.mahout</groupId>
@@ -102,6 +102,11 @@
       <artifactId>mahout-examples</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.mahout</groupId>
+      <artifactId>mahout-taste-webapp</artifactId>
+      <version>${project.version}</version>
+    </dependency>
   </dependencies>
 
   <scm>

Modified: lucene/mahout/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/examples/pom.xml (original)
+++ lucene/mahout/trunk/examples/pom.xml Fri Mar 19 01:44:48 2010
@@ -22,9 +22,9 @@
 
   <parent>
     <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
   <groupId>org.apache.mahout</groupId>

Modified: lucene/mahout/trunk/math/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/math/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/math/pom.xml (original)
+++ lucene/mahout/trunk/math/pom.xml Fri Mar 19 01:44:48 2010
@@ -22,9 +22,9 @@
 
   <parent>
     <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
   <groupId>org.apache.mahout</groupId>

Modified: lucene/mahout/trunk/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/pom.xml (original)
+++ lucene/mahout/trunk/pom.xml Fri Mar 19 01:44:48 2010
@@ -1,131 +1,628 @@
 <?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">
-
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache</groupId>
-    <artifactId>apache</artifactId>
-    <version>6</version>
-  </parent>
-
-  <groupId>org.apache.mahout</groupId>
-  <artifactId>mahout</artifactId>
-  <version>0.4-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <name>Apache Lucene Mahout</name>
-  <description>Scalable machine learning libraries</description>
-  <url>http://lucene.apache.org/mahout</url>
-  <inceptionYear>2008</inceptionYear>
-  <licenses>
-    <license>
-      <name>Apache 2</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-    </license>
-  </licenses>
-
-  <modules>
-    <module>maven</module>
-    <module>collections-codegen-plugin</module>
-    <module>collections</module>
-    <module>math</module>
-    <module>core</module>
-    <module>taste-web</module>
-    <module>examples</module>
-    <module>utils</module>
-  </modules>
-
-  <build>
-    <defaultGoal>install</defaultGoal>
-    <pluginManagement>
-      <plugins>
-        <plugin>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>6</version>
+    </parent>
+    <groupId>org.apache.mahout</groupId>
+    <artifactId>mahout</artifactId>
+    <version>0.4-SNAPSHOT</version>
+    <packaging>pom</packaging>
+    <name>Apache Lucene Mahout</name>
+    <url>http://lucene.apache.org/mahout</url>
+    <inceptionYear>2008</inceptionYear>
+    <description>Mahout's goal is to build scalable machine learning libraries. With scalable we mean: Scalable to reasonably large data sets. Our core algorithms for clustering, classfication and batch based collaborative filtering are implemented on top of Apache Hadoop using the map/reduce paradigm. However we do not restrict contributions to Hadoop based implementations: Contributions that run on a single node or on a non-Hadoop cluster are welcome as well. The core libraries are highly optimized to allow for good performance also for non-distributed algorithms. Scalable to support your business case. Mahout is distributed under a commercially friendly Apache Software license. Scalable community. The goal of Mahout is to build a vibrant, responsive, diverse community to facilitate discussions not only on the project itself but also on potential use cases. Come to the mailing lists to find out more. Currently Mahout supports mainly four use cases: Recommendation mining ta
 kes users' behavior and from that tries to find items users might like. Clustering takes e.g. text documents and groups them into groups of topically related documents. Classification learns from exisiting categorized documents what documents of a specific category look like and is able to assign unlabelled documents to the (hopefully) correct category. Frequent itemset mining takes a set of item groups (terms in a query session, shopping cart content) and identifies, which individual items usually appear together.
+  </description>
+    <licenses>
+        <license>
+            <name>The Apache Software License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+    <organization>
+        <name>The Apache Software Foundation</name>
+        <url>http://www.apache.org/</url>
+    </organization>
+    <mailingLists>
+        <mailingList>
+            <name>User list</name>
+            <subscribe>mahout-user-subscribe@lucene.apache.org</subscribe>
+            <unsubscribe>mahout-user-unsubscribe@lucene.apache.org</unsubscribe>
+            <post>mahout-user@lucene.apache.org</post>
+            <archive>http://mail-archives.apache.org/mod_mbox/lucene-mahout-user/</archive>
+            <otherArchives>
+                <otherArchive>http://lucene.apache.org/mail/mahout-user/</otherArchive>
+                <otherArchive>http://mahout.markmail.org/</otherArchive>
+                <otherArchive>http://www.nabble.com/Mahout-User-List-f32042.html</otherArchive>
+            </otherArchives>
+        </mailingList>
+        <mailingList>
+            <name>Developers List</name>
+            <subscribe>mahout-dev-subscribe@lucene.apache.org</subscribe>
+            <unsubscribe>mahout-dev-unsubscribe@lucene.apache.org</unsubscribe>
+            <post>mahout-dev@lucene.apache.org</post>
+            <archive>http://mail-archives.apache.org/mod_mbox/lucene-mahout-dev/</archive>
+            <otherArchives>
+                <otherArchive>http://lucene.apache.org/mail/mahout-dev/</otherArchive>
+                <otherArchive>http://mahout.markmail.org/</otherArchive>
+                <otherArchive>http://www.nabble.com/Mahout-Developer-List-f32041.html</otherArchive>
+            </otherArchives>
+        </mailingList>
+        <mailingList>
+            <name>Commit notifications</name>
+            <subscribe>mahout-commits-subscribe@lucene.apache.org</subscribe>
+            <unsubscribe>mahout-commits-unsubscribe@lucene.apache.org</unsubscribe>
+            <archive>http://mail-archives.apache.org/mod_mbox/lucene-mahout-commits/</archive>
+            <otherArchives>
+                <otherArchive>http://lucene.apache.org/mail/mahout-commits/</otherArchive>
+            </otherArchives>
+        </mailingList>
+    </mailingLists>
+    <properties>
+        <junit.version>4.7</junit.version>
+        <tagBase>https://svn.apache.org/repos/asf/lucene/mahout</tagBase>
+        <lucene.version>2.9.1</lucene.version>
+        <hadoop.version>0.20.2</hadoop.version>
+        <maven.clover.multiproject>true</maven.clover.multiproject>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven2-repository.maven.org</id>
+            <name>Maven.org Repository for Maven</name>
+            <url>http://repo1.maven.org/maven2</url>
+            <layout>default</layout>
+        </repository>
+        <repository>
+            <id>maven2-repository.dev.java.net</id>
+            <name>Java.net Repository for Maven</name>
+            <url>http://download.java.net/maven/2</url>
+            <layout>default</layout>
+        </repository>
+        <repository>
+            <id>Apache snapshots</id>
+            <url>http://people.apache.org/maven-snapshot-repository</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </repository>
+        <repository>
+            <id>Apache Releases</id>
+            <url>https://repository.apache.org/content/repositories/releases</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+        </repository>
+        <!-- Needed for mail -->
+        <repository>
+            <id>java.net.legacy</id>
+            <name>Java.net Repo for Maven 1</name>
+            <url>http://download.java.net/maven/1</url>
+            <layout>legacy</layout>
+        </repository>
+    </repositories>
+    <issueManagement>
+        <system>Jira</system>
+        <url>https://issues.apache.org/jira/browse/MAHOUT</url>
+    </issueManagement>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.lucene</groupId>
+                <artifactId>lucene-analyzers</artifactId>
+                <version>${lucene.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.lucene</groupId>
+                <artifactId>lucene-core</artifactId>
+                <version>${lucene.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>${junit.version}</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.easymock</groupId>
+                <artifactId>easymock</artifactId>
+                <version>2.5.2</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.easymock</groupId>
+                <artifactId>easymockclassextension</artifactId>
+                <version>2.5.2</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.hadoop</groupId>
+                <artifactId>hadoop-core</artifactId>
+                <version>${hadoop.version}</version>
+                <exclusions>
+                    <exclusion>
+                        <groupId>net.sf.kosmosfs</groupId>
+                        <artifactId>kfs</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.mortbay.jetty</groupId>
+                        <artifactId>jetty</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.mortbay.jetty</groupId>
+                        <artifactId>jetty-util</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>hsqldb</groupId>
+                        <artifactId>hsqldb</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>commons-el</groupId>
+                        <artifactId>commons-el</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>junit</groupId>
+                        <artifactId>junit</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>oro</groupId>
+                        <artifactId>oro</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.mortbay.jetty</groupId>
+                        <artifactId>jsp-2.1</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.mortbay.jetty</groupId>
+                        <artifactId>jsp-api-2.1</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.mortbay.jetty</groupId>
+                        <artifactId>servlet-api-2.5</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>commons-net</groupId>
+                        <artifactId>commons-net</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>tomcat</groupId>
+                        <artifactId>jasper-runtime</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>tomcat</groupId>
+                        <artifactId>jasper-compiler</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>xmlenc</groupId>
+                        <artifactId>xmlenc</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>net.java.dev.jets3t</groupId>
+                        <artifactId>jets3t</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.eclipse.jdt</groupId>
+                        <artifactId>core</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+    <build>
+        <defaultGoal>install</defaultGoal>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                    <version>2.0-beta-9</version>
+                    <configuration>
+                        <useReleaseProfile>true</useReleaseProfile>
+                        <releaseProfiles>release,mahout_release,release_perform</releaseProfiles>
+                        <remoteTagging>true</remoteTagging>
+                        <preparationGoals>clean install</preparationGoals>
+                        <goals>deploy</goals>
+                        <autoVersionSubmodules>true</autoVersionSubmodules>
+                        <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-clover-plugin</artifactId>
+                    <configuration>
+                        <licenseLocation>${maven.clover.license}</licenseLocation>
+                        <jdk>1.5</jdk>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <phase>pre-site</phase>
+                            <goals>
+                                <goal>instrument</goal>
+                                <goal>aggregate</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-checkstyle-plugin</artifactId>
+                    <version>2.2</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.mahout</groupId>
+                            <artifactId>mahout</artifactId>
+                            <version>${project.version}</version>
+                        </dependency>
+                    </dependencies>
+                    <configuration>
+                        <encoding>UTF-8</encoding>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <id>validate</id>
+                            <phase>validate</phase>
+                            <configuration>
+                                <configLocation>${project.build.directory}/../../maven/src/main/resources/mahout-checkstyle.xml</configLocation>
+                                <consoleOutput>true</consoleOutput>
+                                <failsOnError>false</failsOnError>
+                                <linkXRef>false</linkXRef>
+                                <sourceDirectory>${basedir}/src</sourceDirectory>
+                            </configuration>
+                            <goals>
+                                <goal>checkstyle</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>2.0.2</version>
+                    <configuration>
+                        <encoding>UTF-8</encoding>
+                        <source>1.6</source>
+                        <target>1.6</target>
+                        <optimize>true</optimize>
+                    </configuration>
+                </plugin>
+                <!--plugin>
           <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>2.0-beta-9</version>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <version>2.4</version>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.mahout</groupId>
+              <artifactId>mahout</artifactId>
+              <version>${project.version}</version>
+            </dependency>
+          </dependencies>
           <configuration>
-            <useReleaseProfile>true</useReleaseProfile>
-            <releaseProfiles>release_perform,mahout_release,release</releaseProfiles>
-            <remoteTagging>true</remoteTagging>
-            <preparationGoals>clean install</preparationGoals>
-            <goals>deploy</goals>
-            <autoVersionSubmodules>true</autoVersionSubmodules>
-            <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
+            <rulesets>
+              <ruleset>src/main/resources/mahout-pmd-ruleset.xml</ruleset>
+            </rulesets>
+            <sourceEncoding>UTF-8</sourceEncoding>
+            <targetJdk>1.5</targetJdk>
+            <linkXRef>false</linkXRef>
+            <includeTests>true</includeTests>
+            <verbose>true</verbose>
           </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-remote-resources-plugin</artifactId>
-        <configuration>
-          <resourceBundles>
-            <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
-          </resourceBundles>
-          <supplementalModels>
-            <supplementalModel>supplemental-models.xml</supplementalModel>
-          </supplementalModels>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-eclipse-plugin</artifactId>
-        <configuration>
-          <downloadJavadocs>true</downloadJavadocs>
-          <downloadSources>true</downloadSources>
-          <additionalConfig>
-            <file>
-              <name>.checkstyle</name>
-              <location>maven/src/main/resources/mahout-eclipse-checkstyle</location>
-            </file>
-          </additionalConfig>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-    <profile>
-      <id>release</id>
-      <modules>
-        <module>distribution</module>
-      </modules>
-    </profile>
-    <profile>
-<!-- Since this executes the release packaging, we won't want it in release:prepare! -->
-      <id>release_perform</id>
-      <build>
+          <executions>
+            <execution>
+              <id>validate</id>
+              <phase>validate</phase>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin-->
+            </plugins>
+        </pluginManagement>
         <plugins>
-          <plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.5</version>
+                <configuration>
+                    <forkMode>once</forkMode>
+                    <argLine>-Xms256m -Xmx512m</argLine>
+                    <testFailureIgnore>false</testFailureIgnore>
+                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <configuration>
+                    <appendedResourcesDirectory>../src/main/appended-resources</appendedResourcesDirectory>
+                    <resourceBundles>
+                        <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                    </resourceBundles>
+                    <supplementalModels>
+                        <supplementalModel>supplemental-models.xml</supplementalModel>
+                    </supplementalModels>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <inherited>false</inherited>
+                <configuration>
+                    <resourceBundles>
+                        <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                    </resourceBundles>
+                    <supplementalModels>
+                        <supplementalModel>supplemental-models.xml</supplementalModel>
+                    </supplementalModels>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-eclipse-plugin</artifactId>
+                <!-- until I sort this out further -->
+                <inherited>false</inherited>
+                <configuration>
+                    <downloadJavadocs>true</downloadJavadocs>
+                    <downloadSources>true</downloadSources>
+                    <additionalConfig>
+                        <file>
+                            <name>.checkstyle</name>
+                            <location>maven/src/main/resources/mahout-eclipse-checkstyle</location>
+                        </file>
+                    </additionalConfig>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <modules>
+        <module>collections-codegen-plugin</module>
+        <module>collections</module>
+        <module>math</module>
+        <module>core</module>
+        <module>taste-web</module>
+        <module>examples</module>
+        <module>utils</module>
+    </modules>
+    <profiles>
+        <profile>
+            <id>fastinstall</id>
+            <properties>
+                <maven.test.skip>true</maven.test.skip>
+                <pmd.skip>true</pmd.skip>
+                <checkstyle.skip>true</checkstyle.skip>
+            </properties>
+        </profile>
+        <profile>
+            <id>nochecks</id>
+            <properties>
+                <pmd.skip>true</pmd.skip>
+                <checkstyle.skip>true</checkstyle.skip>
+            </properties>
+        </profile>
+        <profile>
+            <id>release</id>
+            <modules>
+                <module>distribution</module>
+            </modules>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <version>2.5</version>
+                        <configuration>
+                            <skipTests>true</skipTests>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <inherited>true</inherited>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-sources</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <inherited>true</inherited>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <!-- Since this executes the release packaging, we won't want it in release:prepare! -->
+            <id>release_perform</id>
+            <build>
+                <plugins>
+                    <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>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>sourcecheck</id>
+            <build>
+                <plugins>
+                    <!--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-checkstyle-plugin</artifactId>
+              <configuration>
+                <configLocation>src/main/resources/mahout-checkstyle.xml</configLocation>
+                <consoleOutput>false</consoleOutput>
+                <failsOnError>false</failsOnError>
+                <linkXRef>false</linkXRef>
+                <sourceDirectory>${basedir}/src</sourceDirectory>
+              </configuration>
+          </plugin-->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <configuration>
+                            <showDeprecation>true</showDeprecation>
+                            <showWarnings>true</showWarnings>
+                            <compilerArgument>${compile.flags}</compilerArgument>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-pmd-plugin</artifactId>
+                        <configuration>
+                            <rulesets>
+                                <ruleset>src/main/resources/mahout-pmd-ruleset.xml</ruleset>
+                            </rulesets>
+                            <sourceEncoding>UTF-8</sourceEncoding>
+                            <targetJdk>1.5</targetJdk>
+                            <linkXRef>false</linkXRef>
+                            <includeTests>true</includeTests>
+                            <verbose>true</verbose>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+    <scm>
+        <connection>scm:svn:https://svn.apache.org/repos/asf/lucene/mahout/trunk</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/lucene/mahout/trunk</developerConnection>
+        <url>https://svn.apache.org/repos/asf/lucene/mahout/mahout</url>
+    </scm>
+    <distributionManagement>
+        <site>
+            <id>Website</id>
+            <url>scp://people.apache.org/home/isabel/public_html/mahout_site</url>
+        </site>
+    </distributionManagement>
+    <reporting>
+        <plugins>
+            <plugin>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <configLocation>${project.build.directory}/../../maven/src/main/resources/mahout-checkstyle.xml</configLocation>
+                    <consoleOutput>true</consoleOutput>
+                </configuration>
+            </plugin>
+            <!-- generate java doc -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+            </plugin>
+            <!-- surefire runs unit tests -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+            </plugin>
+            <!-- test coverage plugin -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clover-plugin</artifactId>
+                <configuration>
+                    <licenseLocation>${maven.clover.license}</licenseLocation>
+                    <jdk>1.5</jdk>
+                </configuration>
+            </plugin>
+            <!-- code duplication - copy and paste detection -->
+            <plugin>
+                <artifactId>maven-pmd-plugin</artifactId>
+                <configuration>
+                    <rulesets>
+                        <ruleset>src/main/resources/mahout-pmd-ruleset.xml</ruleset>
+                    </rulesets>
+                    <sourceEncoding>UTF-8</sourceEncoding>
+                    <targetJdk>1.5</targetJdk>
+                    <linkXRef>false</linkXRef>
+                    <includeTests>true</includeTests>
+                    <verbose>true</verbose>
+                </configuration>
+            </plugin>
+            <!-- catch code tags -->
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>taglist-maven-plugin</artifactId>
+                <configuration>
+                    <tags>
+                        <tag>TODO</tag>
+                        <tag>todo</tag>
+                    </tags>
+                </configuration>
+            </plugin>
+            <!-- findbugs -->
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>2.0.1</version>
+                <configuration>
+                    <xmlOutput>true</xmlOutput>
+                    <xmlOutputDirectory>target/findbugs</xmlOutputDirectory>
+                    <outputDirectory>target/site/findbugs</outputDirectory>
+                    <threshold>Low</threshold>
+                    <effort>Default</effort>
+                    <!--visitors>FindDeadLocalStores,UnreadFields</visitors-->
+                    <!--omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors-->
+                    <debug>true</debug>
+                    <relaxed>true</relaxed>
+                    <excludeFilterFile>../maven/src/main/resources/findbugs-exclude.xml</excludeFilterFile>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-changes-plugin</artifactId>
+                <version>2.2</version>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>jira-report</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>2.1.2</version>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>index</report>
+                            <report>dependencies</report>
+                            <report>dependency-convergence</report>
+                            <report>dependency-management</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin>
         </plugins>
-      </build>
-    </profile>
-  </profiles>
-
-  <scm>
-    <connection>scm:svn:https://svn.apache.org/repos/asf/lucene/mahout/trunk</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/lucene/mahout/trunk</developerConnection>
-    <url>https://svn.apache.org/repos/asf/lucene/mahout/mahout</url>
-  </scm>
-  <distributionManagement>
-    <site>
-      <id>Website</id>
-      <url>scp://people.apache.org/home/isabel/public_html/mahout_site</url>
-    </site>
-  </distributionManagement>
+    </reporting>
 </project>
-

Modified: lucene/mahout/trunk/taste-web/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/taste-web/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/taste-web/pom.xml (original)
+++ lucene/mahout/trunk/taste-web/pom.xml Fri Mar 19 01:44:48 2010
@@ -23,9 +23,9 @@
 
   <parent>
     <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
   <groupId>org.apache.mahout</groupId>

Modified: lucene/mahout/trunk/utils/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/utils/pom.xml?rev=925075&r1=925074&r2=925075&view=diff
==============================================================================
--- lucene/mahout/trunk/utils/pom.xml (original)
+++ lucene/mahout/trunk/utils/pom.xml Fri Mar 19 01:44:48 2010
@@ -22,9 +22,9 @@
 
   <parent>
     <groupId>org.apache.mahout</groupId>
-    <artifactId>mahout-parent</artifactId>
+    <artifactId>mahout</artifactId>
     <version>0.4-SNAPSHOT</version>
-    <relativePath>../maven</relativePath>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
   <groupId>org.apache.mahout</groupId>