Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Updated pom files
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwestphal committed Dec 9, 2016
1 parent 0935198 commit 2e62725
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 190 deletions.
188 changes: 110 additions & 78 deletions sansa-owl-flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,84 +64,116 @@
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>com.esotericsoftware.kryo:kryo</exclude>
<exclude>com.esotericsoftware.minlog:minlog</exclude>
<exclude>com.fasterxml.jackson.core:jackson*</exclude>
<exclude>com.github.scopt:scopt_2.11</exclude>
<exclude>com.google.code.findbugs:jsr305</exclude>
<exclude>com.google.protobuf:protobuf-java</exclude>
<exclude>com.jamesmurty.utils:java-xmlbuilder</exclude>
<exclude>com.jcraft:jsch</exclude>
<exclude>com.sun.jersey:jersey-core</exclude>
<exclude>com.thoughtworks.paranamer:paranamer</exclude>
<exclude>com.typesafe:config</exclude>
<exclude>com.typesafe.akka:*</exclude>
<exclude>com.twitter:chill_2.11</exclude>
<exclude>commons-beanutils:commons-beanutils-bean-collections</exclude>
<exclude>commons-cli:commons-cli</exclude>
<exclude>commons-codec:commons-codec</exclude>
<exclude>commons-configuration:commons-configuration</exclude>
<exclude>commons-daemon:commons-daemon</exclude>
<exclude>commons-digester:commons-digester</exclude>
<exclude>commons-el:commons-el</exclude>
<exclude>commons-lang:commons-lang</exclude>
<exclude>commons-logging:commons-logging</exclude>
<exclude>commons-net:commons-net</exclude>
<exclude>commons-collections:commons-collections</exclude>
<exclude>io.netty:netty*</exclude>
<exclude>io.dropwizard.metrics:metrics*</exclude>
<exclude>javax.activation:activation</exclude>
<exclude>javax.servlet:servlet-api</exclude>
<exclude>javax.xml.bind:jaxb-api</exclude>
<exclude>javax.xml.stream:stax-api</exclude>
<exclude>jline:jline</exclude>
<exclude>junit:junit</exclude>
<exclude>org.apache.avro:avro</exclude>
<exclude>org.apache.commons:commons-compress</exclude>
<exclude>org.apache.commons:commons-lang3</exclude>
<exclude>org.apache.commons:commons-math3</exclude>
<exclude>org.apache.flink:*</exclude>
<exclude>org.apache.zookeeper:zookeeper</exclude>
<exclude>org.clapper:grizzled-slf4j_2.11</exclude>
<exclude>org.codehaus.jackson:jackson-*</exclude>
<exclude>org.javassist:javassist</exclude>
<exclude>org.mortbay.jetty:jetty-util</exclude>
<exclude>org.objenesis:objenesis</exclude>
<exclude>org.scala-lang:*</exclude>
<exclude>org.uncommons.maths:uncommons-maths</exclude>
<exclude>org.xerial.snappy:snappy-java</exclude>
<exclude>xmlenc:xmlenc</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>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>build-jar</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-scala_2.11</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_2.11</artifactId>
</dependency>
</dependencies>
</profile>

<profile>
<id>dist</id>
<activation>
<property>
<name>dist</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>com.esotericsoftware.kryo:kryo</exclude>
<exclude>com.esotericsoftware.minlog:minlog</exclude>
<exclude>com.fasterxml.jackson.core:jackson*</exclude>
<exclude>com.github.scopt:scopt_2.11</exclude>
<exclude>com.google.code.findbugs:jsr305</exclude>
<exclude>com.google.protobuf:protobuf-java</exclude>
<exclude>com.jamesmurty.utils:java-xmlbuilder</exclude>
<exclude>com.jcraft:jsch</exclude>
<exclude>com.sun.jersey:jersey-core</exclude>
<exclude>com.thoughtworks.paranamer:paranamer</exclude>
<exclude>com.typesafe:config</exclude>
<exclude>com.typesafe.akka:*</exclude>
<exclude>com.twitter:chill_2.11</exclude>
<exclude>commons-beanutils:commons-beanutils-bean-collections</exclude>
<exclude>commons-cli:commons-cli</exclude>
<exclude>commons-codec:commons-codec</exclude>
<exclude>commons-configuration:commons-configuration</exclude>
<exclude>commons-daemon:commons-daemon</exclude>
<exclude>commons-digester:commons-digester</exclude>
<exclude>commons-el:commons-el</exclude>
<exclude>commons-lang:commons-lang</exclude>
<exclude>commons-logging:commons-logging</exclude>
<exclude>commons-net:commons-net</exclude>
<exclude>commons-collections:commons-collections</exclude>
<exclude>io.netty:netty*</exclude>
<exclude>io.dropwizard.metrics:metrics*</exclude>
<exclude>javax.activation:activation</exclude>
<exclude>javax.servlet:servlet-api</exclude>
<exclude>javax.xml.bind:jaxb-api</exclude>
<exclude>javax.xml.stream:stax-api</exclude>
<exclude>jline:jline</exclude>
<exclude>junit:junit</exclude>
<exclude>org.apache.avro:avro</exclude>
<exclude>org.apache.commons:commons-compress</exclude>
<exclude>org.apache.commons:commons-lang3</exclude>
<exclude>org.apache.commons:commons-math3</exclude>
<exclude>org.apache.flink:*</exclude>
<exclude>org.apache.zookeeper:zookeeper</exclude>
<exclude>org.clapper:grizzled-slf4j_2.11</exclude>
<exclude>org.codehaus.jackson:jackson-*</exclude>
<exclude>org.javassist:javassist</exclude>
<exclude>org.mortbay.jetty:jetty-util</exclude>
<exclude>org.objenesis:objenesis</exclude>
<exclude>org.scala-lang:*</exclude>
<exclude>org.uncommons.maths:uncommons-maths</exclude>
<exclude>org.xerial.snappy:snappy-java</exclude>
<exclude>xmlenc:xmlenc</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>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading

0 comments on commit 2e62725

Please sign in to comment.