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/09/21 19:00:55 UTC

svn commit: r697549 - in /lucene/mahout/branches/branch-0.1: core/pom.xml examples/pom.xml

Author: kalle
Date: Sun Sep 21 10:00:54 2008
New Revision: 697549

URL: http://svn.apache.org/viewvc?rev=697549&view=rev
Log:
maven build fix:
example tests depends on core tests. this patch will package a core-tests jar that the examples will load.

Modified:
    lucene/mahout/branches/branch-0.1/core/pom.xml
    lucene/mahout/branches/branch-0.1/examples/pom.xml

Modified: lucene/mahout/branches/branch-0.1/core/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/branches/branch-0.1/core/pom.xml?rev=697549&r1=697548&r2=697549&view=diff
==============================================================================
--- lucene/mahout/branches/branch-0.1/core/pom.xml (original)
+++ lucene/mahout/branches/branch-0.1/core/pom.xml Sun Sep 21 10:00:54 2008
@@ -30,6 +30,20 @@
         </configuration>
       </plugin>
 
+      <!-- create test jar so other modules can reuse the core test utillity classes. -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
 
 
       <plugin>

Modified: lucene/mahout/branches/branch-0.1/examples/pom.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/branches/branch-0.1/examples/pom.xml?rev=697549&r1=697548&r2=697549&view=diff
==============================================================================
--- lucene/mahout/branches/branch-0.1/examples/pom.xml (original)
+++ lucene/mahout/branches/branch-0.1/examples/pom.xml Sun Sep 21 10:00:54 2008
@@ -30,6 +30,20 @@
         </configuration>
       </plugin>
 
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <forkMode>pertest</forkMode>
+          <argLine>-Xms256m -Xmx512m</argLine>
+          <testFailureIgnore>false</testFailureIgnore>
+          <skip>false</skip>
+          <includes/>
+          <excludes/>
+        </configuration>
+      </plugin>
+
       <plugin>
         <artifactId>maven-install-plugin</artifactId>
 
@@ -66,6 +80,16 @@
       <version>${parent.version}</version>
     </dependency>
 
+    <!-- core test -->
+    <dependency>
+      <groupId>org.apache.lucene.mahout</groupId>
+      <artifactId>core</artifactId>
+      <version>${parent.version}</version>
+      <classifier>tests</classifier>
+      <scope>test</scope>
+    </dependency>
+
+
     <dependency>
       <groupId>javax.ejb</groupId>
       <artifactId>javaee-api</artifactId>