aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-10-28 10:11:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-10-28 10:11:14 +1300
commit392b92eeaab4023b74cebfcbb9efc4b6931a3852 (patch)
treeb884bd4cdb1183fe55a9435b69f10ee9efb5bbb1
parentc2a42373c04c7615f45bfaff3ddbe4d939055308 (diff)
parent2f7df64edea7bb0fb3b96a8a4adab19bddbe464e (diff)
downloadtrackermap-server-392b92eeaab4023b74cebfcbb9efc4b6931a3852.tar.gz
trackermap-server-392b92eeaab4023b74cebfcbb9efc4b6931a3852.tar.bz2
trackermap-server-392b92eeaab4023b74cebfcbb9efc4b6931a3852.zip
Merge pull request #945 from jon-stumpf/jar-with-dependencies
Added jar-with-dependencies target
-rw-r--r--pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 28661fd4d..dfe20bf10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,6 +112,30 @@
<target>1.6</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.4.1</version>
+ <configuration>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ <archive>
+ <manifest>
+ <mainClass>org.traccar.Main</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <id>assemble-all</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>