You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ap...@apache.org on 2017/02/27 03:06:14 UTC

mahout git commit: MAHOUT-1939: Shade fastutil jar conflicictng with CDH Spark #285

Repository: mahout
Updated Branches:
  refs/heads/master 51b1ab99a -> 4d1464ef4


MAHOUT-1939: Shade fastutil jar conflicictng with CDH Spark #285


Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/4d1464ef
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/4d1464ef
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/4d1464ef

Branch: refs/heads/master
Commit: 4d1464ef4d7a1d278c828d29a906e8f431a2fcb5
Parents: 51b1ab9
Author: Andrew Palumbo <ap...@apache.org>
Authored: Sun Feb 26 19:05:40 2017 -0800
Committer: Andrew Palumbo <ap...@apache.org>
Committed: Sun Feb 26 19:05:40 2017 -0800

----------------------------------------------------------------------
 math/pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/4d1464ef/math/pom.xml
----------------------------------------------------------------------
diff --git a/math/pom.xml b/math/pom.xml
index f0ddff1..2de5422 100644
--- a/math/pom.xml
+++ b/math/pom.xml
@@ -129,6 +129,33 @@
           </supplementalModels>
         </configuration>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>3.0.0</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <artifactSet>
+                <includes>
+                  <include>it.unimi.dsi:fastutil</include>
+                </includes>
+              </artifactSet>
+              <relocations>
+                <relocation>
+                  <pattern>it.unimi.dsi.fastutil</pattern>
+                  <shadedPattern>shaded.it.unimi.dsi.fastutil</shadedPattern>
+                </relocation>
+              </relocations>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>