diff --git a/sansa-owl-flink/pom.xml b/sansa-owl-flink/pom.xml
index 157a8eb..4aef1f5 100644
--- a/sansa-owl-flink/pom.xml
+++ b/sansa-owl-flink/pom.xml
@@ -64,84 +64,116 @@
org.scalatest
scalatest-maven-plugin
-
-
- org.apache.maven.plugins
- maven-shade-plugin
- 2.4.3
-
-
- package
-
- shade
-
-
-
-
- com.esotericsoftware.kryo:kryo
- com.esotericsoftware.minlog:minlog
- com.fasterxml.jackson.core:jackson*
- com.github.scopt:scopt_2.11
- com.google.code.findbugs:jsr305
- com.google.protobuf:protobuf-java
- com.jamesmurty.utils:java-xmlbuilder
- com.jcraft:jsch
- com.sun.jersey:jersey-core
- com.thoughtworks.paranamer:paranamer
- com.typesafe:config
- com.typesafe.akka:*
- com.twitter:chill_2.11
- commons-beanutils:commons-beanutils-bean-collections
- commons-cli:commons-cli
- commons-codec:commons-codec
- commons-configuration:commons-configuration
- commons-daemon:commons-daemon
- commons-digester:commons-digester
- commons-el:commons-el
- commons-lang:commons-lang
- commons-logging:commons-logging
- commons-net:commons-net
- commons-collections:commons-collections
- io.netty:netty*
- io.dropwizard.metrics:metrics*
- javax.activation:activation
- javax.servlet:servlet-api
- javax.xml.bind:jaxb-api
- javax.xml.stream:stax-api
- jline:jline
- junit:junit
- org.apache.avro:avro
- org.apache.commons:commons-compress
- org.apache.commons:commons-lang3
- org.apache.commons:commons-math3
- org.apache.flink:*
- org.apache.zookeeper:zookeeper
- org.clapper:grizzled-slf4j_2.11
- org.codehaus.jackson:jackson-*
- org.javassist:javassist
- org.mortbay.jetty:jetty-util
- org.objenesis:objenesis
- org.scala-lang:*
- org.uncommons.maths:uncommons-maths
- org.xerial.snappy:snappy-java
- xmlenc:xmlenc
-
-
-
-
- *:*
-
- META-INF/*.SF
- META-INF/*.DSA
- META-INF/*.RSA
-
-
-
- false
-
-
-
-
+
+
+
+ build-jar
+
+ false
+
+
+
+ org.apache.flink
+ flink-scala_2.11
+ provided
+
+
+ org.apache.flink
+ flink-clients_2.11
+
+
+
+
+
+ dist
+
+
+ dist
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 2.4.3
+
+
+ package
+
+ shade
+
+
+
+
+ com.esotericsoftware.kryo:kryo
+ com.esotericsoftware.minlog:minlog
+ com.fasterxml.jackson.core:jackson*
+ com.github.scopt:scopt_2.11
+ com.google.code.findbugs:jsr305
+ com.google.protobuf:protobuf-java
+ com.jamesmurty.utils:java-xmlbuilder
+ com.jcraft:jsch
+ com.sun.jersey:jersey-core
+ com.thoughtworks.paranamer:paranamer
+ com.typesafe:config
+ com.typesafe.akka:*
+ com.twitter:chill_2.11
+ commons-beanutils:commons-beanutils-bean-collections
+ commons-cli:commons-cli
+ commons-codec:commons-codec
+ commons-configuration:commons-configuration
+ commons-daemon:commons-daemon
+ commons-digester:commons-digester
+ commons-el:commons-el
+ commons-lang:commons-lang
+ commons-logging:commons-logging
+ commons-net:commons-net
+ commons-collections:commons-collections
+ io.netty:netty*
+ io.dropwizard.metrics:metrics*
+ javax.activation:activation
+ javax.servlet:servlet-api
+ javax.xml.bind:jaxb-api
+ javax.xml.stream:stax-api
+ jline:jline
+ junit:junit
+ org.apache.avro:avro
+ org.apache.commons:commons-compress
+ org.apache.commons:commons-lang3
+ org.apache.commons:commons-math3
+ org.apache.flink:*
+ org.apache.zookeeper:zookeeper
+ org.clapper:grizzled-slf4j_2.11
+ org.codehaus.jackson:jackson-*
+ org.javassist:javassist
+ org.mortbay.jetty:jetty-util
+ org.objenesis:objenesis
+ org.scala-lang:*
+ org.uncommons.maths:uncommons-maths
+ org.xerial.snappy:snappy-java
+ xmlenc:xmlenc
+
+
+
+
+ *:*
+
+ META-INF/*.SF
+ META-INF/*.DSA
+ META-INF/*.RSA
+
+
+
+ false
+
+
+
+
+
+
+
+
diff --git a/sansa-owl-spark/pom.xml b/sansa-owl-spark/pom.xml
index fa7ad97..69ce447 100644
--- a/sansa-owl-spark/pom.xml
+++ b/sansa-owl-spark/pom.xml
@@ -85,118 +85,161 @@
org.scalatest
scalatest-maven-plugin
-
-
- org.apache.maven.plugins
- maven-shade-plugin
- 2.4.3
-
-
- package
-
- shade
-
-
-
-
- asm:asm
- com.clearspring.analytics:stream
- com.esotericsoftware:kryo*
- com.esotericsoftware:minlog
- com.fasterxml.jackson.core:jackson*
- com.fasterxml.jackson.module:jackson-module*
- com.google.code.findbugs:jsr305
- com.google.code.gson:gson
- com.google.inject.extensions:guice-servlet
- com.google.guava:guava
- com.google.protobuf:protobuf-java
- com.jcraft:jsch
- com.ning:compress-lzf
- com.sun.jersey:jersey-*
- com.sun.jersey.contribs:jersey-guice
- com.sun.xml.bind:jaxb-impl
- com.thoughtworks.paranamer:paranamer
- com.twitter:chill*
- com.univocity:univocity-parsers
- commons-beanutils:commons-beanutils*
- commons-cli:commons-cli
- commons-codec:commons-codec
- commons-collections:commons-collections
- commons-configuration:commons-configuration
- commons-digester:commons-digester
- commons-httpclient:commons-httpclient
- commons-io:commons-io
- commons-lang:commons-lang
- commons-logging:commons-logging
- commons-net:commons-net
- io.dropwizard.metrics:metrics*
- io.netty:netty*
- javax.activation:activation
- javax.annotation:javax.annotation-api
- javax.servlet:javax.servlet-api
- javax.servlet.jsp:jsp-api
- javax.servlet:servlet-api
- javax.validation:validation-api
- javax.ws.rs:javax.ws.rs-api
- javax.xml.bind:jaxb-api
- javax.xml.stream:stax-api
- jdk.tools:jdk.tools
- net.java.dev.jets3t:jets3t
- net.jpountz.lz4:lz4
- net.razorvine:pyrolite
- net.sf.py4j:py4j
- org.antlr:antlr4-runtime
- org.apache.avro:avro*
- org.apache.commons:commons-lang3
- org.apache.commons:commons-math3
- org.apache.commons:commons-compress
- org.apache.curator:curator*
- org.apache.directory.api:*
- org.apache.directory.server:*
- org.apache.hadoop:*
- org.apache.htrace:htrace-core
- org.apache.httpcomponents:*
- org.apache.ivy:ivy
- org.apache.mesos:mesos
- org.apache.parquet:parquet*
- org.apache.spark:*
- org.apache.xbean:xbean-asm5-shaded
- org.apache.zookeeper:zookeeper
- org.codehaus.jackson:jackson-*
- org.codehaus.janino:*
- org.codehaus.jettison:jettison
- org.fusesource.leveldbjni:leveldbjni-all
- org.glassfish.hk2*
- org.glassfish.jersey*
- org.javassist:javassist
- org.json4s:json4s*
- org.mortbay.jetty:jetty*
- org.objenesis:objenesis
- org.roaringbitmap:RoaringBitmap
- org.scala-lang:*
- org.slf4j:jul-to-slf4j
- org.slf4j:jcl-over-slf4j
- org.spark-project.spark:unused
- org.xerial.snappy:snappy-java
- oro:oro
- xmlenc:xmlenc
-
-
-
-
- *:*
-
- META-INF/*.SF
- META-INF/*.DSA
- META-INF/*.RSA
-
-
-
- false
-
-
-
-
+
+
+
+ build-jar
+
+ false
+
+
+
+ org.apache.spark
+ spark-core_2.11
+ provided
+
+
+ org.apache.spark
+ spark-sql_2.11
+ provided
+
+
+ org.apache.hadoop
+ hadoop-mapreduce-client-core
+ provided
+
+
+ org.apache.hadoop
+ hadoop-common
+ provided
+
+
+
+
+
+ dist
+
+
+ dist
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 2.4.3
+
+
+ package
+
+ shade
+
+
+
+
+ asm:asm
+ com.clearspring.analytics:stream
+ com.esotericsoftware:kryo*
+ com.esotericsoftware:minlog
+ com.fasterxml.jackson.core:jackson*
+ com.fasterxml.jackson.module:jackson-module*
+ com.google.code.findbugs:jsr305
+ com.google.code.gson:gson
+ com.google.inject.extensions:guice-servlet
+ com.google.guava:guava
+ com.google.protobuf:protobuf-java
+ com.jcraft:jsch
+ com.ning:compress-lzf
+ com.sun.jersey:jersey-*
+ com.sun.jersey.contribs:jersey-guice
+ com.sun.xml.bind:jaxb-impl
+ com.thoughtworks.paranamer:paranamer
+ com.twitter:chill*
+ com.univocity:univocity-parsers
+ commons-beanutils:commons-beanutils*
+ commons-cli:commons-cli
+ commons-codec:commons-codec
+ commons-collections:commons-collections
+ commons-configuration:commons-configuration
+ commons-digester:commons-digester
+ commons-httpclient:commons-httpclient
+ commons-io:commons-io
+ commons-lang:commons-lang
+ commons-logging:commons-logging
+ commons-net:commons-net
+ io.dropwizard.metrics:metrics*
+ io.netty:netty*
+ javax.activation:activation
+ javax.annotation:javax.annotation-api
+ javax.servlet:javax.servlet-api
+ javax.servlet.jsp:jsp-api
+ javax.servlet:servlet-api
+ javax.validation:validation-api
+ javax.ws.rs:javax.ws.rs-api
+ javax.xml.bind:jaxb-api
+ javax.xml.stream:stax-api
+ jdk.tools:jdk.tools
+ net.java.dev.jets3t:jets3t
+ net.jpountz.lz4:lz4
+ net.razorvine:pyrolite
+ net.sf.py4j:py4j
+ org.antlr:antlr4-runtime
+ org.apache.avro:avro*
+ org.apache.commons:commons-lang3
+ org.apache.commons:commons-math3
+ org.apache.commons:commons-compress
+ org.apache.curator:curator*
+ org.apache.directory.api:*
+ org.apache.directory.server:*
+ org.apache.hadoop:*
+ org.apache.htrace:htrace-core
+ org.apache.httpcomponents:*
+ org.apache.ivy:ivy
+ org.apache.mesos:mesos
+ org.apache.parquet:parquet*
+ org.apache.spark:*
+ org.apache.xbean:xbean-asm5-shaded
+ org.apache.zookeeper:zookeeper
+ org.codehaus.jackson:jackson-*
+ org.codehaus.janino:*
+ org.codehaus.jettison:jettison
+ org.fusesource.leveldbjni:leveldbjni-all
+ org.glassfish.hk2*
+ org.glassfish.jersey*
+ org.javassist:javassist
+ org.json4s:json4s*
+ org.mortbay.jetty:jetty*
+ org.objenesis:objenesis
+ org.roaringbitmap:RoaringBitmap
+ org.scala-lang:*
+ org.slf4j:jul-to-slf4j
+ org.slf4j:jcl-over-slf4j
+ org.spark-project.spark:unused
+ org.xerial.snappy:snappy-java
+ oro:oro
+ xmlenc:xmlenc
+
+
+
+
+ *:*
+
+ META-INF/*.SF
+ META-INF/*.DSA
+ META-INF/*.RSA
+
+
+
+ false
+
+
+
+
+
+
+
+