You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ss...@apache.org on 2013/07/26 22:29:58 UTC

svn commit: r1507425 - in /mahout/trunk: CHANGELOG pom.xml

Author: sslavic
Date: Fri Jul 26 20:29:58 2013
New Revision: 1507425

URL: http://svn.apache.org/r1507425
Log:
MAHOUT-1294: Added ci profile auto-activated on Jenkins builds to cleanup any previously installed artifacts from Jenkins node local repository

Modified:
    mahout/trunk/CHANGELOG
    mahout/trunk/pom.xml

Modified: mahout/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/mahout/trunk/CHANGELOG?rev=1507425&r1=1507424&r2=1507425&view=diff
==============================================================================
--- mahout/trunk/CHANGELOG (original)
+++ mahout/trunk/CHANGELOG Fri Jul 26 20:29:58 2013
@@ -2,6 +2,8 @@ Mahout Change Log
 
 Release 0.9 - unreleased
 
+  MAHOUT-1294: Cleanup previously installed artifacts from CI server local repository (sslavic)
+
   MAHOUT-1293: Source distribution tar.gz archive cannot be unpacked on Linux (sslavic)
 
   MAHOUT-1291: MahoutDriver yields cosmetically suboptimal exception when bin/mahout runs without args, on some Hadoop versions (srowen)

Modified: mahout/trunk/pom.xml
URL: http://svn.apache.org/viewvc/mahout/trunk/pom.xml?rev=1507425&r1=1507424&r2=1507425&view=diff
==============================================================================
--- mahout/trunk/pom.xml (original)
+++ mahout/trunk/pom.xml Fri Jul 26 20:29:58 2013
@@ -900,6 +900,32 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>ci</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+        <property>
+          <name>env.JENKINS_URL</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>build-helper-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>remove-old-mahout-artifacts</id>
+                <phase>prepare-package</phase>
+                <goals>
+                  <goal>remove-project-artifact</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   <scm>
     <connection>scm:svn:https://svn.apache.org/repos/asf/mahout/trunk</connection>