Skip to content

Commit

Permalink
Fixed build of the uberjar ('dist' profile)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aklakan committed Oct 28, 2023
1 parent 9fb4428 commit 3ad7ac4
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions lsq-pkg-parent/lsq-pkg-uberjar-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<version>2.0.0-RC3-SNAPSHOT</version>
</parent>

<!-- scm section needs to be duplicated on child module for github-release-plugin;
<!-- scm section needs to be duplicated on child module for
github-release-plugin;
see https://github.com/jutzig/github-release-plugin/issues/14 -->
<scm>
<url>https://github.com/AKSW/LSQ</url>
Expand All @@ -35,7 +36,7 @@
<plugin>
<groupId>de.jutzig</groupId>
<artifactId>github-release-plugin</artifactId>
<!-- <version>1.3.0</version> -->
<!-- <version>1.3.0</version> -->
<configuration>
<tag>${project.artifactId}-${project.version}</tag>
<!-- <description>Facete 3 Release</description> -->
Expand All @@ -44,7 +45,8 @@
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<!-- <include>${project.artifactId}*-jar-with-dependencies.jar</include> -->
<!--
<include>${project.artifactId}*-jar-with-dependencies.jar</include> -->
<include>*dependencies.jar</include>
</includes>
</fileSet>
Expand All @@ -57,12 +59,32 @@
<executions>
<execution>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/Log4j2Plugins.dat</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.aksw.simba.lsq.cli.main.MainCliLsq</mainClass>
<mainClass>
org.aksw.simba.lsq.cli.main.MainCliLsq</mainClass>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</transformer>
</transformers>
</configuration>
Expand Down Expand Up @@ -106,7 +128,8 @@
<!-- <manifest> -->
<!-- <addClasspath>true</addClasspath> -->
<!-- <classpathPrefix>libs/</classpathPrefix> -->
<!-- <mainClass>org.aksw.rdf_processing_toolkit.cli.main.MainCliRdfProcessingToolkit</mainClass> -->
<!--
<mainClass>org.aksw.rdf_processing_toolkit.cli.main.MainCliRdfProcessingToolkit</mainClass> -->
<!-- </manifest> -->
<!-- </archive> -->
<!-- </configuration> -->
Expand Down

0 comments on commit 3ad7ac4

Please sign in to comment.