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 2019/05/23 22:51:16 UTC
[mahout] 01/03: (nojira) release: fat jar from spark cli pom.xml
spark ships all classes anyways
This is an automated email from the ASF dual-hosted git repository.
apalumbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mahout.git
commit c4c7a6f29399157dacc616c0cb138696ef022906
Author: Andrew Palumbo <ap...@apache.org>
AuthorDate: Tue May 21 16:09:16 2019 -0700
(nojira) release: fat jar from spark cli pom.xml spark ships all classes anyways
---
community/spark-cli-drivers/pom.xml | 8 ++--
.../src/main/assembly/dependency-reduced.xml | 51 ----------------------
2 files changed, 4 insertions(+), 55 deletions(-)
diff --git a/community/spark-cli-drivers/pom.xml b/community/spark-cli-drivers/pom.xml
index 5e1ed5f..b3d1c96 100644
--- a/community/spark-cli-drivers/pom.xml
+++ b/community/spark-cli-drivers/pom.xml
@@ -70,8 +70,8 @@
<build>
- <plugins>
- <!-- create fat jar -->
+ <plugins><!--
+ <!– create fat jar –>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
@@ -89,7 +89,7 @@
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>-->
<!-- ensure licenses -->
@@ -132,7 +132,7 @@
<configuration>
<tasks>
<copy file="target/spark-cli-drivers_${scala.compat.version}-${project.version}.jar" tofile="${project.basedir}/../../lib/spark-cli-drivers_${scala.compat.version}-${project.version}.jar" />
- <copy file="target/spark-cli-drivers_${scala.compat.version}-${project.version}-dependency-reduced.jar" tofile="${project.basedir}/../../lib/spark_${scala.compat.version}-${project.version}-dependency-reduced.jar" />
+ <!-- <copy file="target/spark-cli-drivers_${scala.compat.version}-${project.version}-dependency-reduced.jar" tofile="${project.basedir}/../../lib/spark_${scala.compat.version}-${project.version}-dependency-reduced.jar" /> -->
</tasks>
</configuration>
<goals>
diff --git a/community/spark-cli-drivers/src/main/assembly/dependency-reduced.xml b/community/spark-cli-drivers/src/main/assembly/dependency-reduced.xml
deleted file mode 100644
index ed2e008..0000000
--- a/community/spark-cli-drivers/src/main/assembly/dependency-reduced.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<assembly
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
- http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- <id>dependency-reduced</id>
- <formats>
- <format>jar</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
- <dependencySets>
- <dependencySet>
- <unpack>true</unpack>
- <unpackOptions>
- <!-- MAHOUT-1126 -->
- <excludes>
- <exclude>META-INF/LICENSE</exclude>
- </excludes>
- </unpackOptions>
- <scope>runtime</scope>
- <outputDirectory>/</outputDirectory>
- <useTransitiveFiltering>true</useTransitiveFiltering>
- <includes>
- <!-- guava only included to get Preconditions in mahout-math and mahout-hdfs -->
-<!-- <include>com.google.guava:guava</include>-->
- <include>com.github.scopt_${scala.compat.version}</include>
- <!--<include>com.tdunning:t-digest</include>-->
-<!-- <include>org.apache.commons:commons-math3</include>-->
-<!-- <include>it.unimi.dsi:fastutil</include>-->
-<!-- <include>org.apache.mahout:mahout-native-viennacl_${scala.compat.version}</include>-->
-<!-- <include>org.apache.mahout:mahout-native-viennacl-omp_${scala.compat.version}</include>-->
-<!-- <include>org.bytedeco:javacpp</include>-->
- </includes>
- </dependencySet>
- </dependencySets>
-</assembly>