aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2014-10-24 15:54:15 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2014-10-24 15:54:15 -0400
commit68198d27bdb4d66d920fa81406e7e8afe5e17624 (patch)
tree550c183f9f1675658fb576e064f4f8c151f0e8a4
parent5490a0351abc9d6e741baf129300beb2d50051fd (diff)
downloadtraccar-server-68198d27bdb4d66d920fa81406e7e8afe5e17624.tar.gz
traccar-server-68198d27bdb4d66d920fa81406e7e8afe5e17624.tar.bz2
traccar-server-68198d27bdb4d66d920fa81406e7e8afe5e17624.zip
Added jar-with-dependencies target
-rw-r--r--pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 28661fd4d..bfcb182b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,6 +112,32 @@
<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>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>lib/</classpathPrefix>
+ </manifest>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <id>assemble-all</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>