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/03/18 13:04:41 UTC
svn commit: r755571 - in /lucene/mahout/trunk/taste-web: lib/ pom.xml
recommender.properties
Author: gsingers
Date: Wed Mar 18 12:04:41 2009
New Revision: 755571
URL: http://svn.apache.org/viewvc?rev=755571&view=rev
Log:
MAHOUT-110: clean up maven packaging for Taste
Added:
lucene/mahout/trunk/taste-web/lib/
Modified:
lucene/mahout/trunk/taste-web/pom.xml
lucene/mahout/trunk/taste-web/recommender.properties
Modified: lucene/mahout/trunk/taste-web/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/taste-web/pom.xml?rev=755571&r1=755570&r2=755571&view=diff
==============================================================================
--- lucene/mahout/trunk/taste-web/pom.xml (original)
+++ lucene/mahout/trunk/taste-web/pom.xml Wed Mar 18 12:04:41 2009
@@ -23,10 +23,11 @@
<resources>
<resource>
<directory>src/main/resources</directory>
-
-
</resource>
-
+ <resource>
+ <directory>lib</directory>
+ <targetPath>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF/lib</targetPath>
+ </resource>
</resources>
<testResources>
<testResource>
@@ -35,6 +36,7 @@
</testResource>
</testResources>
<plugins>
+
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.3</version>
@@ -73,10 +75,20 @@
<configuration>
<filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
<filters><filter>${basedir}/recommender.properties</filter></filters>
+
+ <packagingExcludes>WEB-INF/lib/.jar</packagingExcludes>
</configuration>
</plugin>
<plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <configuration>
+ <webApp>${project.build.directory}/${project.artifactId}-${project.version}.war</webApp>
+ </configuration>
+
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
@@ -95,6 +107,88 @@
<groupId>org.apache.mahout</groupId>
<artifactId>mahout-core</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.mahout.hadoop</groupId>
+ <artifactId>hadoop-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.mahout.kosmofs</groupId>
+ <artifactId>kfs</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.mahout.jets3t</groupId>
+ <artifactId>jets3t</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xmlenc</groupId>
+ <artifactId>xmlenc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-dbcp</groupId>
+ <artifactId>commons-dbcp</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.mahout.watchmaker</groupId>
+ <artifactId>watchmaker-framework</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.mahout.watchmaker</groupId>
+ <artifactId>watchmaker-swing</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.mahout.uncommons.math</groupId>
+ <artifactId>uncommons-math</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-analyzers</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.mahout.commons</groupId>
+ <artifactId>commons-cli</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
Modified: lucene/mahout/trunk/taste-web/recommender.properties
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/taste-web/recommender.properties?rev=755571&r1=755570&r2=755571&view=diff
==============================================================================
--- lucene/mahout/trunk/taste-web/recommender.properties (original)
+++ lucene/mahout/trunk/taste-web/recommender.properties Wed Mar 18 12:04:41 2009
@@ -1,2 +1,3 @@
#Set this to the Recommender class value.
-recommender.class=CHANGE ME in recommender.properties
\ No newline at end of file
+#recommender.class=org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender
+recommender.class=CHANGE ME IN recommender.properties
\ No newline at end of file