diff options
author | Manuel Bentele | 2021-03-04 16:55:07 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-03-11 07:45:41 +0100 |
commit | 39477278d794bf5117dcc5fa4ca60894fd6b8d85 (patch) | |
tree | 930b141ba2b454d258040d9d67c1fe773939cee9 /dozentenmodulserver/pom.xml | |
parent | [client,server] Refactor disk image representation (diff) | |
download | tutor-module-39477278d794bf5117dcc5fa4ca60894fd6b8d85.tar.gz tutor-module-39477278d794bf5117dcc5fa4ca60894fd6b8d85.tar.xz tutor-module-39477278d794bf5117dcc5fa4ca60894fd6b8d85.zip |
[client,server] Remove shaded packaging
WARNING: As a result of this change, the normal Jar packages can no
longer be executed independently. Therefore, please publish from now
on only the fully packed Jar files which are suffixed with
"-jar-with-dependencies.jar".
Diffstat (limited to 'dozentenmodulserver/pom.xml')
-rw-r--r-- | dozentenmodulserver/pom.xml | 57 |
1 files changed, 12 insertions, 45 deletions
diff --git a/dozentenmodulserver/pom.xml b/dozentenmodulserver/pom.xml index ac41c772..08be1a2d 100644 --- a/dozentenmodulserver/pom.xml +++ b/dozentenmodulserver/pom.xml @@ -44,6 +44,17 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>default-jar</id> + <phase>none</phase> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.0.0</version> <executions> @@ -73,51 +84,6 @@ <useSystemClassLoader>false</useSystemClassLoader> </configuration> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>3.0.0</version> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>shade</goal> - </goals> - <configuration> - <minimizeJar>true</minimizeJar> - <filters> - <filter> - <artifact>mysql:*</artifact> - <includes> - <include>**</include> - </includes> - </filter> - <filter> - <artifact>org.lz4:*</artifact> - <includes> - <include>**</include> - </includes> - </filter> - <filter> - <artifact>*:*</artifact> - <excludes> - <exclude>META-INF/*.SF</exclude> - <exclude>META-INF/*.DSA</exclude> - <exclude>META-INF/*.RSA</exclude> - <exclude>META-INF/maven/**</exclude> - </excludes> - </filter> - </filters> - <transformers> - <transformer - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> - <mainClass>${main.class}</mainClass> - </transformer> - </transformers> - </configuration> - </execution> - </executions> - </plugin> </plugins> </build> @@ -168,6 +134,7 @@ <groupId>org.kamranzafar</groupId> <artifactId>jtar</artifactId> <version>2.3</version> + <scope>compile</scope> </dependency> </dependencies> </project> |