You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ka...@apache.org on 2008/04/23 15:18:45 UTC
svn commit: r650857 - in /lucene/mahout/trunk: core/pom.xml pom.xml
Author: kalle
Date: Wed Apr 23 06:18:42 2008
New Revision: 650857
URL: http://svn.apache.org/viewvc?rev=650857&view=rev
Log:
MAHOUT-17, Maven project and module POM files.
All dependencies without official Maven artifacts (Hadoop, kfs, xmlenc, jets3t) are copied from libs/ to local Maven repository.
The purpose of this patch is not to replace the Ant build, it is to /support/ Maven users that wants to produce project files for their development environment. Perhaps it also could be used for us to produce official Maven artifacts.
Added:
lucene/mahout/trunk/core/pom.xml
lucene/mahout/trunk/pom.xml
Added: lucene/mahout/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/pom.xml?rev=650857&view=auto
==============================================================================
--- lucene/mahout/trunk/core/pom.xml (added)
+++ lucene/mahout/trunk/core/pom.xml Wed Apr 23 06:18:42 2008
@@ -0,0 +1,177 @@
+<?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.lucene.mahout</groupId>
+ <artifactId>mahout</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.lucene.mahout</groupId>
+ <artifactId>core</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ <name>Mahout core</name>
+ <description>Scalable machine learning libraries</description>
+
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+
+
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+
+ <!-- Copy dependencies with no official Maven artifacts from libs to local Maven repositoty -->
+
+ <executions>
+ <execution>
+ <id>create-hadoop-core-artifact</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>lib/hadoop-${hadoop.version}-core.jar</file>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>core</artifactId>
+ <packaging>jar</packaging>
+ <version>${hadoop.version}</version>
+ <generatePom>true</generatePom>
+ <createChecksum>true</createChecksum>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>create-kfs-artifact</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>lib/hadoop-${hadoop.version}-core.jar</file>
+ <groupId>org.kosmix.kosmofs</groupId>
+ <artifactId>kfs</artifactId>
+ <packaging>jar</packaging>
+ <version>${kfs.version}</version>
+ <generatePom>true</generatePom>
+ <createChecksum>true</createChecksum>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>create-jets3t-artifact</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>lib/hadoop-${hadoop.version}-core.jar</file>
+ <groupId>jets3t</groupId>
+ <artifactId>jets3t</artifactId>
+ <packaging>jar</packaging>
+ <version>${jets3t.version}</version>
+ <generatePom>true</generatePom>
+ <createChecksum>true</createChecksum>
+ </configuration>
+ </execution>
+
+
+ <execution>
+ <id>create-xmlenc-artifact</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>lib/hadoop-${hadoop.version}-core.jar</file>
+ <groupId>org.znerd.xmlenc</groupId>
+ <artifactId>xmlenc</artifactId>
+ <packaging>jar</packaging>
+ <version>${xmlenc.version}</version>
+ <generatePom>true</generatePom>
+ <createChecksum>true</createChecksum>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>core</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.kosmix.kosmofs</groupId>
+ <artifactId>kfs</artifactId>
+ <version>${kfs.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>jets3t</groupId>
+ <artifactId>jets3t</artifactId>
+ <version>${jets3t.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.znerd.xmlenc</groupId>
+ <artifactId>xmlenc</artifactId>
+ <version>${xmlenc.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging-api</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.13</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+
+</project>
Added: lucene/mahout/trunk/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/pom.xml?rev=650857&view=auto
==============================================================================
--- lucene/mahout/trunk/pom.xml (added)
+++ lucene/mahout/trunk/pom.xml Wed Apr 23 06:18:42 2008
@@ -0,0 +1,90 @@
+<?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>
+
+ <groupId>org.apache.lucene.mahout</groupId>
+ <artifactId>mahout</artifactId>
+ <packaging>pom</packaging>
+ <version>0.1-SNAPSHOT</version>
+ <name>Apache Lucene Mahout</name>
+ <description>Scalable machine learning libraries</description>
+
+ <properties>
+ <junit.version>3.8.2</junit.version>
+ <hadoop.version>0.16.0</hadoop.version>
+ <kfs.version>0.1</kfs.version>
+ <xmlenc.version>0.52</xmlenc.version>
+ <jets3t.version>0.5.0</jets3t.version>
+ </properties>
+
+ <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>
+
+ <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>
+ </scm>
+
+
+
+ <modules>
+ <module>core</module>
+ </modules>
+
+ <repositories>
+ <!--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-->
+ </repositories>
+
+
+ <issueManagement>
+ <system>Jira</system>
+ <url>https://issues.apache.org/jira/browse/MAHOUT</url>
+ </issueManagement>
+
+</project>
+