diff options
author | Simon Rettberg | 2015-09-01 17:16:57 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-01 17:16:57 +0200 |
commit | 5fefeeca126900a07e920470e993a290e4c37974 (patch) | |
tree | 8065ff19de8cec6568c049fe81bfad9f09f10971 /dozentenmodul/pom.xml | |
parent | [client] Open vmware link in virtualizer info. (diff) | |
download | tutor-module-5fefeeca126900a07e920470e993a290e4c37974.tar.gz tutor-module-5fefeeca126900a07e920470e993a290e4c37974.tar.xz tutor-module-5fefeeca126900a07e920470e993a290e4c37974.zip |
[*] Clean up pom.xml, add shading to client, clean up .gitignore
Diffstat (limited to 'dozentenmodul/pom.xml')
-rw-r--r-- | dozentenmodul/pom.xml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/dozentenmodul/pom.xml b/dozentenmodul/pom.xml index 8f278d4b..42a16453 100644 --- a/dozentenmodul/pom.xml +++ b/dozentenmodul/pom.xml @@ -56,14 +56,16 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> + <version>3.3</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> + <version>2.5.5</version> <executions> <execution> <phase>package</phase> @@ -83,6 +85,28 @@ </descriptorRefs> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>2.4.1</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <minimizeJar>true</minimizeJar> + <transformers> + <transformer + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> + <mainClass>${main.class}</mainClass> + </transformer> + </transformers> + </configuration> + </execution> + </executions> + </plugin> </plugins> <resources> |