zen-assembly_2.10
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.cloudml.zen</groupId>
<artifactId>zen-assembly_2.10</artifactId>
<version>0.1.1</version>
</dependency><?xml version="1.0"?>
<!--
~ 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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.cloudml.zen</groupId>
<artifactId>zen-parent_2.10</artifactId>
<version>0.1.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.github.cloudml.zen</groupId>
<artifactId>zen-assembly_2.10</artifactId>
<name>Zen Project Assembly</name>
<url>https://github.com/cloudml/zen/</url>
<packaging>pom</packaging>
<properties>
<zen.jar.dir>scala-${scala.binary.version}</zen.jar.dir>
<zen.jar.basename>zen-assembly-${project.version}-spark${spark.version}.jar</zen.jar.basename>
<zen.jar>${project.build.directory}/${zen.jar.dir}/${zen.jar.basename}</zen.jar>
</properties>
<dependencies>
<dependency>
<groupId>com.github.cloudml.zen</groupId>
<artifactId>zen-ml_${scala.binary.version}</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<outputFile>${zen.jar}</outputFile>
<artifactSet>
<includes>
<include>*:*</include>
</includes>
<excludes>
<exclude>org.apache.spark:*</exclude>
<exclude>org.slf4j:*</exclude>
<exclude>log4j:*</exclude>
<exclude>asm:*</exclude>
<exclude>commons-logging:*</exclude>
<exclude>org.apache.hadoop:*</exclude>
<exclude>org.eclipse.jetty:*</exclude>
<exclude>com.fasterxml.jackson.core:*</exclude>
<exclude>com.fasterxml.jackson.module:*</exclude>
<exclude>org.eclipse.jetty.*:*</exclude>
<exclude>com.esotericsoftware.*:*</exclude>
<exclude>com.codahale.*:*</exclude>
<exclude>javax.*:*</exclude>
<exclude>com.sun.xml.*:*</exclude>
<exclude>org.codehaus.janino:*</exclude>
<exclude>org.objectweb.*:*</exclude>
<exclude>org.apache.zookeeper:*</exclude>
<exclude>com.google.guava:*</exclude>
<exclude>com.twitter:*:*</exclude>
<exclude>org.mockito:*:*</exclude>
<exclude>org.apache.mesos:*</exclude>
<exclude>com.google.protobuf:*</exclude>
<exclude>org.apache.ant:*</exclude>
<exclude>org.apache.avro:*</exclude>
<exclude>org.apache.parquet:*</exclude>
<exclude>org.apache.ivy:*</exclude>
<exclude>org.mortbay.jetty:*</exclude>
<exclude>io.dropwizard.metrics:*</exclude>
<exclude>xmlenc:*</exclude>
<exclude>hsqldb:*</exclude>
<exclude>org.scalanlp:*</exclude>
<!--<exclude>org.apache.commons:*</exclude>-->
<exclude>org.jblas:*</exclude>
<exclude>com.google.code.findbugs:*</exclude>
<exclude>io.netty:*</exclude>
<exclude>org.spark-project.akka:*</exclude>
<exclude>org.spark-project.protobuf:*</exclude>
<exclude>org.json4s:*</exclude>
<exclude>org.spark-project:*</exclude>
<exclude>org.apache.curator:*</exclude>
<exclude>jline:*</exclude>
<exclude>com.ning:*</exclude>
<exclude>org.scala-lang:*:*:*</exclude>
<exclude>org.apache.hadoop.thirdparty.guava:*</exclude>
<exclude>net.sf.py4j:*:*:*</exclude>
<exclude>org.tachyonproject:*</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>reference.conf</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
<resource>log4j.properties</resource>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>