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 /dozentenmodulserver | |
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 'dozentenmodulserver')
-rw-r--r-- | dozentenmodulserver/pom.xml | 10 | ||||
-rw-r--r-- | dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Database.java | 1 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dozentenmodulserver/pom.xml b/dozentenmodulserver/pom.xml index dc0067ce..9c801ba1 100644 --- a/dozentenmodulserver/pom.xml +++ b/dozentenmodulserver/pom.xml @@ -12,6 +12,7 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <main.class>org.openslx.bwlp.sat.App</main.class> </properties> <repositories> @@ -35,14 +36,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> @@ -54,7 +57,7 @@ <configuration> <archive> <manifest> - <mainClass>org.openslx.bwlp.sat.App</mainClass> + <mainClass>${main.class}</mainClass> </manifest> </archive> <descriptorRefs> @@ -65,6 +68,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> + <version>2.4.1</version> <executions> <execution> <phase>package</phase> @@ -84,7 +88,7 @@ <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> - <mainClass>org.openslx.bwlp.sat.App</mainClass> + <mainClass>${main.class}</mainClass> </transformer> </transformers> </configuration> diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Database.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Database.java index 446cfbea..cfc6530b 100644 --- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Database.java +++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Database.java @@ -11,7 +11,6 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue;
import org.apache.log4j.Logger;
-import org.openslx.bwlp.sat.App;
import org.openslx.bwlp.sat.util.Configuration;
public class Database {
|