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

Commit cf6d8fe

Browse files
bump to next development version
1 parent 3b48dc9 commit cf6d8fe

5 files changed

Lines changed: 185 additions & 158 deletions

File tree

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>net.sansa-stack</groupId>
55
<artifactId>sansa-inference-parent_2.11</artifactId>
6-
<version>0.1.0</version>
6+
<version>0.1.1-SNAPSHOT</version>
77
<packaging>pom</packaging>
88
<name>Inference API - Parent</name>
99

@@ -385,6 +385,19 @@
385385
</pluginManagement>
386386
</build>
387387

388+
<distributionManagement>
389+
<repository>
390+
<id>maven.aksw.internal</id>
391+
<name>AKSW Release Repository</name>
392+
<url>http://maven.aksw.org/archiva/repository/internal</url>
393+
</repository>
394+
<snapshotRepository>
395+
<id>maven.aksw.snapshots</id>
396+
<name>AKSW Snapshot Repository</name>
397+
<url>http://maven.aksw.org/archiva/repository/snapshots</url>
398+
</snapshotRepository>
399+
</distributionManagement>
400+
388401
<repositories>
389402
<repository>
390403
<id>oss-sonatype</id>

sansa-inference-common/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<parent>
55
<artifactId>sansa-inference-parent_2.11</artifactId>
66
<groupId>net.sansa-stack</groupId>
7-
<version>0.1.0</version>
7+
<version>0.1.1-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<groupId>net.sansa-stack</groupId>
1111
<artifactId>sansa-inference-common_${scala.binary.version}</artifactId>
12-
<version>0.1.0</version>
12+
<version>0.1.1-SNAPSHOT</version>
1313
<name>Inference API - Common</name>
1414
<description>A set of common objects used in the Inference API</description>
1515

sansa-inference-flink/pom.xml

Lines changed: 164 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ under the License.
2323
<parent>
2424
<groupId>net.sansa-stack</groupId>
2525
<artifactId>sansa-inference-parent_2.11</artifactId>
26-
<version>0.1.0</version>
26+
<version>0.1.1-SNAPSHOT</version>
2727
<relativePath>../pom.xml</relativePath>
2828
</parent>
2929
<groupId>net.sansa-stack</groupId>
3030
<artifactId>sansa-inference-flink_${scala.binary.version}</artifactId>
31-
<version>0.1.0</version>
31+
<version>0.1.1-SNAPSHOT</version>
3232

3333
<name>Inference API - Flink</name>
3434
<description>Apache Flink based inference layer for RDF and OWL</description>
@@ -118,155 +118,6 @@ under the License.
118118
<!--<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>-->
119119
<!--<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>-->
120120
<plugins>
121-
<!-- We use the maven-shade plugin to create a fat jar that contains all dependencies
122-
except flink and it's transitive dependencies. The resulting fat-jar can be executed
123-
on a cluster. Change the value of Program-Class if your program entry point changes. -->
124-
<plugin>
125-
<groupId>org.apache.maven.plugins</groupId>
126-
<artifactId>maven-shade-plugin</artifactId>
127-
<version>2.4.1</version>
128-
<executions>
129-
<!-- Run shade goal on package phase -->
130-
<execution>
131-
<phase>package</phase>
132-
<goals>
133-
<goal>shade</goal>
134-
</goals>
135-
<configuration>
136-
<!--<minimizeJar>true</minimizeJar>-->
137-
<artifactSet>
138-
<excludes>
139-
<!-- This list contains all dependencies of flink-dist
140-
Everything else will be packaged into the fat-jar
141-
-->
142-
<exclude>org.apache.flink:flink-shaded-*_2.11</exclude>
143-
<exclude>org.apache.flink:flink-core_2.11</exclude>
144-
<exclude>org.apache.flink:flink-java*</exclude>
145-
<exclude>org.apache.flink:flink-java_2.11</exclude>
146-
<exclude>org.apache.flink:flink-scala_2.11</exclude>
147-
<exclude>org.apache.flink:flink-runtime_2.11</exclude>
148-
<exclude>org.apache.flink:flink-optimizer_2.11</exclude>
149-
<exclude>org.apache.flink:flink-clients_2.11</exclude>
150-
<exclude>org.apache.flink:flink-avro_2.11</exclude>
151-
<exclude>org.apache.flink:flink-java-examples_2.11</exclude>
152-
<exclude>org.apache.flink:flink-scala-examples_2.11</exclude>
153-
<exclude>org.apache.flink:flink-streaming-examples_2.11</exclude>
154-
<exclude>org.apache.flink:flink-streaming-java_2.11</exclude>
155-
156-
<!-- Also exclude very big transitive dependencies of Flink
157-
158-
WARNING: You have to remove these excludes if your code relies on other
159-
versions of these dependencies.
160-
161-
-->
162-
163-
<exclude>org.scala-lang:scala-library</exclude>
164-
<exclude>org.scala-lang:scala-compiler</exclude>
165-
<exclude>org.scala-lang:scala-reflect</exclude>
166-
<exclude>com.amazonaws:aws-java-sdk</exclude>
167-
<exclude>com.typesafe.akka:akka-actor_*</exclude>
168-
<exclude>com.typesafe.akka:akka-remote_*</exclude>
169-
<exclude>com.typesafe.akka:akka-slf4j_*</exclude>
170-
<exclude>io.netty:netty-all</exclude>
171-
<exclude>io.netty:netty</exclude>
172-
<exclude>org.eclipse.jetty:jetty-server</exclude>
173-
<exclude>org.eclipse.jetty:jetty-continuation</exclude>
174-
<exclude>org.eclipse.jetty:jetty-http</exclude>
175-
<exclude>org.eclipse.jetty:jetty-io</exclude>
176-
<exclude>org.eclipse.jetty:jetty-util</exclude>
177-
<exclude>org.eclipse.jetty:jetty-security</exclude>
178-
<exclude>org.eclipse.jetty:jetty-servlet</exclude>
179-
<exclude>org.gephi:*</exclude>
180-
<exclude>org.netbeans.api:*</exclude>
181-
182-
<exclude>commons-fileupload:commons-fileupload</exclude>
183-
<exclude>org.apache.avro:avro</exclude>
184-
<exclude>commons-collections:commons-collections</exclude>
185-
<exclude>org.codehaus.jackson:jackson-core-asl</exclude>
186-
<exclude>org.codehaus.jackson:jackson-mapper-asl</exclude>
187-
<exclude>com.thoughtworks.paranamer:paranamer</exclude>
188-
<exclude>org.xerial.snappy:snappy-java</exclude>
189-
<exclude>org.apache.commons:commons-compress</exclude>
190-
<exclude>org.tukaani:xz</exclude>
191-
<exclude>com.esotericsoftware.kryo:kryo</exclude>
192-
<exclude>com.esotericsoftware.minlog:minlog</exclude>
193-
<exclude>org.objenesis:objenesis</exclude>
194-
<exclude>com.twitter:chill_*</exclude>
195-
<exclude>com.twitter:chill-java</exclude>
196-
<exclude>com.twitter:chill-avro_*</exclude>
197-
<exclude>com.twitter:chill-bijection_*</exclude>
198-
<exclude>com.twitter:bijection-core_*</exclude>
199-
<exclude>com.twitter:bijection-avro_*</exclude>
200-
<exclude>commons-lang:commons-lang</exclude>
201-
<exclude>junit:junit</exclude>
202-
<exclude>de.javakaffee:kryo-serializers</exclude>
203-
<exclude>joda-time:joda-time</exclude>
204-
<exclude>org.apache.commons:commons-lang3</exclude>
205-
<exclude>org.slf4j:slf4j-api</exclude>
206-
<exclude>org.slf4j:slf4j-log4j12</exclude>
207-
<exclude>log4j:log4j</exclude>
208-
<exclude>org.apache.commons:commons-math</exclude>
209-
<exclude>org.apache.sling:org.apache.sling.commons.json</exclude>
210-
<exclude>commons-logging:commons-logging</exclude>
211-
<exclude>org.apache.httpcomponents:httpclient</exclude>
212-
<exclude>org.apache.httpcomponents:httpcore</exclude>
213-
<exclude>commons-codec:commons-codec</exclude>
214-
<exclude>com.fasterxml.jackson.core:jackson-core</exclude>
215-
<exclude>com.fasterxml.jackson.core:jackson-databind</exclude>
216-
<exclude>com.fasterxml.jackson.core:jackson-annotations</exclude>
217-
<exclude>org.codehaus.jettison:jettison</exclude>
218-
<exclude>stax:stax-api</exclude>
219-
<exclude>com.typesafe:config</exclude>
220-
<exclude>org.uncommons.maths:uncommons-maths</exclude>
221-
<!--<exclude>com.github.scopt:scopt_*</exclude>-->
222-
<exclude>org.mortbay.jetty:servlet-api</exclude>
223-
<exclude>commons-io:commons-io</exclude>
224-
<exclude>commons-cli:commons-cli</exclude>
225-
226-
<exclude>sqlite:*</exclude>
227-
<exclude>netbeans:*</exclude>
228-
<exclude>org.apache.xmlgraphics:*</exclude>
229-
<exclude>mysql:*</exclude>
230-
</excludes>
231-
</artifactSet>
232-
<filters>
233-
<filter>
234-
<artifact>org.apache.flink:*</artifact>
235-
<excludes>
236-
<exclude>org/apache/flink/shaded/**</exclude>
237-
<exclude>web-docs/**</exclude>
238-
</excludes>
239-
</filter>
240-
<filter>
241-
<!-- Do not copy the signatures in the META-INF folder.
242-
Otherwise, this might cause SecurityExceptions when using the JAR. -->
243-
<artifact>*:*</artifact>
244-
<excludes>
245-
<exclude>META-INF/*.SF</exclude>
246-
<exclude>META-INF/*.DSA</exclude>
247-
<exclude>META-INF/*.RSA</exclude>
248-
</excludes>
249-
</filter>
250-
</filters>
251-
<finalName>dist-${project.artifactId}-${project.version}</finalName>
252-
<transformers>
253-
<!-- add Main-Class to manifest file -->
254-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
255-
<mainClass>net.sansa_stack.inference.flink.RDFGraphMaterializer</mainClass>
256-
</transformer>
257-
</transformers>
258-
<createDependencyReducedPom>false</createDependencyReducedPom>
259-
<relocations>
260-
<relocation>
261-
<pattern>scopt</pattern>
262-
<shadedPattern>scopt.shaded</shadedPattern>
263-
</relocation>
264-
</relocations>
265-
</configuration>
266-
</execution>
267-
</executions>
268-
</plugin>
269-
270121
<plugin>
271122
<groupId>org.apache.maven.plugins</groupId>
272123
<artifactId>maven-compiler-plugin</artifactId>
@@ -369,5 +220,167 @@ under the License.
369220
</dependency>
370221
</dependencies>
371222
</profile>
223+
<profile>
224+
<id>dist</id>
225+
<activation>
226+
<property>
227+
<name>dist</name>
228+
</property>
229+
</activation>
230+
<!-- This profile uses the assembly plugin to create a special "dist" package for BigTop
231+
that contains Spark but not the Hadoop JARs it depends on. -->
232+
<build>
233+
<plugins>
234+
<!-- We use the maven-shade plugin to create a fat jar that contains all dependencies
235+
except flink and it's transitive dependencies. The resulting fat-jar can be executed
236+
on a cluster. Change the value of Program-Class if your program entry point changes. -->
237+
<plugin>
238+
<groupId>org.apache.maven.plugins</groupId>
239+
<artifactId>maven-shade-plugin</artifactId>
240+
<version>2.4.1</version>
241+
<executions>
242+
<!-- Run shade goal on package phase -->
243+
<execution>
244+
<phase>package</phase>
245+
<goals>
246+
<goal>shade</goal>
247+
</goals>
248+
<configuration>
249+
<minimizeJar>true</minimizeJar>
250+
<artifactSet>
251+
<excludes>
252+
<!-- This list contains all dependencies of flink-dist
253+
Everything else will be packaged into the fat-jar
254+
-->
255+
<exclude>org.apache.flink:flink-shaded-*_2.11</exclude>
256+
<exclude>org.apache.flink:flink-core_2.11</exclude>
257+
<exclude>org.apache.flink:flink-java*</exclude>
258+
<exclude>org.apache.flink:flink-java_2.11</exclude>
259+
<exclude>org.apache.flink:flink-scala_2.11</exclude>
260+
<exclude>org.apache.flink:flink-runtime_2.11</exclude>
261+
<exclude>org.apache.flink:flink-optimizer_2.11</exclude>
262+
<exclude>org.apache.flink:flink-clients_2.11</exclude>
263+
<exclude>org.apache.flink:flink-avro_2.11</exclude>
264+
<exclude>org.apache.flink:flink-java-examples_2.11</exclude>
265+
<exclude>org.apache.flink:flink-scala-examples_2.11</exclude>
266+
<exclude>org.apache.flink:flink-streaming-examples_2.11</exclude>
267+
<exclude>org.apache.flink:flink-streaming-java_2.11</exclude>
268+
269+
<!-- Also exclude very big transitive dependencies of Flink
270+
271+
WARNING: You have to remove these excludes if your code relies on other
272+
versions of these dependencies.
273+
274+
-->
275+
276+
<exclude>org.scala-lang:scala-library</exclude>
277+
<exclude>org.scala-lang:scala-compiler</exclude>
278+
<exclude>org.scala-lang:scala-reflect</exclude>
279+
<exclude>com.amazonaws:aws-java-sdk</exclude>
280+
<exclude>com.typesafe.akka:akka-actor_*</exclude>
281+
<exclude>com.typesafe.akka:akka-remote_*</exclude>
282+
<exclude>com.typesafe.akka:akka-slf4j_*</exclude>
283+
<exclude>io.netty:netty-all</exclude>
284+
<exclude>io.netty:netty</exclude>
285+
<exclude>org.eclipse.jetty:jetty-server</exclude>
286+
<exclude>org.eclipse.jetty:jetty-continuation</exclude>
287+
<exclude>org.eclipse.jetty:jetty-http</exclude>
288+
<exclude>org.eclipse.jetty:jetty-io</exclude>
289+
<exclude>org.eclipse.jetty:jetty-util</exclude>
290+
<exclude>org.eclipse.jetty:jetty-security</exclude>
291+
<exclude>org.eclipse.jetty:jetty-servlet</exclude>
292+
<exclude>org.gephi:*</exclude>
293+
<exclude>org.netbeans.api:*</exclude>
294+
295+
<exclude>commons-fileupload:commons-fileupload</exclude>
296+
<exclude>org.apache.avro:avro</exclude>
297+
<exclude>commons-collections:commons-collections</exclude>
298+
<exclude>org.codehaus.jackson:jackson-core-asl</exclude>
299+
<exclude>org.codehaus.jackson:jackson-mapper-asl</exclude>
300+
<exclude>com.thoughtworks.paranamer:paranamer</exclude>
301+
<exclude>org.xerial.snappy:snappy-java</exclude>
302+
<exclude>org.apache.commons:commons-compress</exclude>
303+
<exclude>org.tukaani:xz</exclude>
304+
<exclude>com.esotericsoftware.kryo:kryo</exclude>
305+
<exclude>com.esotericsoftware.minlog:minlog</exclude>
306+
<exclude>org.objenesis:objenesis</exclude>
307+
<exclude>com.twitter:chill_*</exclude>
308+
<exclude>com.twitter:chill-java</exclude>
309+
<exclude>com.twitter:chill-avro_*</exclude>
310+
<exclude>com.twitter:chill-bijection_*</exclude>
311+
<exclude>com.twitter:bijection-core_*</exclude>
312+
<exclude>com.twitter:bijection-avro_*</exclude>
313+
<exclude>commons-lang:commons-lang</exclude>
314+
<exclude>junit:junit</exclude>
315+
<exclude>de.javakaffee:kryo-serializers</exclude>
316+
<exclude>joda-time:joda-time</exclude>
317+
<exclude>org.apache.commons:commons-lang3</exclude>
318+
<exclude>org.slf4j:slf4j-api</exclude>
319+
<exclude>org.slf4j:slf4j-log4j12</exclude>
320+
<exclude>log4j:log4j</exclude>
321+
<exclude>org.apache.commons:commons-math</exclude>
322+
<exclude>org.apache.sling:org.apache.sling.commons.json</exclude>
323+
<exclude>commons-logging:commons-logging</exclude>
324+
<exclude>org.apache.httpcomponents:httpclient</exclude>
325+
<exclude>org.apache.httpcomponents:httpcore</exclude>
326+
<exclude>commons-codec:commons-codec</exclude>
327+
<exclude>com.fasterxml.jackson.core:jackson-core</exclude>
328+
<exclude>com.fasterxml.jackson.core:jackson-databind</exclude>
329+
<exclude>com.fasterxml.jackson.core:jackson-annotations</exclude>
330+
<exclude>org.codehaus.jettison:jettison</exclude>
331+
<exclude>stax:stax-api</exclude>
332+
<exclude>com.typesafe:config</exclude>
333+
<exclude>org.uncommons.maths:uncommons-maths</exclude>
334+
<!--<exclude>com.github.scopt:scopt_*</exclude>-->
335+
<exclude>org.mortbay.jetty:servlet-api</exclude>
336+
<exclude>commons-io:commons-io</exclude>
337+
<exclude>commons-cli:commons-cli</exclude>
338+
339+
<exclude>sqlite:*</exclude>
340+
<exclude>netbeans:*</exclude>
341+
<exclude>org.apache.xmlgraphics:*</exclude>
342+
<exclude>mysql:*</exclude>
343+
</excludes>
344+
</artifactSet>
345+
<filters>
346+
<filter>
347+
<artifact>org.apache.flink:*</artifact>
348+
<excludes>
349+
<exclude>org/apache/flink/shaded/**</exclude>
350+
<exclude>web-docs/**</exclude>
351+
</excludes>
352+
</filter>
353+
<filter>
354+
<!-- Do not copy the signatures in the META-INF folder.
355+
Otherwise, this might cause SecurityExceptions when using the JAR. -->
356+
<artifact>*:*</artifact>
357+
<excludes>
358+
<exclude>META-INF/*.SF</exclude>
359+
<exclude>META-INF/*.DSA</exclude>
360+
<exclude>META-INF/*.RSA</exclude>
361+
</excludes>
362+
</filter>
363+
</filters>
364+
<finalName>dist-${project.artifactId}-${project.version}</finalName>
365+
<transformers>
366+
<!-- add Main-Class to manifest file -->
367+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
368+
<mainClass>net.sansa_stack.inference.flink.RDFGraphMaterializer</mainClass>
369+
</transformer>
370+
</transformers>
371+
<createDependencyReducedPom>false</createDependencyReducedPom>
372+
<relocations>
373+
<relocation>
374+
<pattern>scopt</pattern>
375+
<shadedPattern>scopt.shaded</shadedPattern>
376+
</relocation>
377+
</relocations>
378+
</configuration>
379+
</execution>
380+
</executions>
381+
</plugin>
382+
</plugins>
383+
</build>
384+
</profile>
372385
</profiles>
373386
</project>

0 commit comments

Comments
 (0)