diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2014-10-24 15:54:15 -0400 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2014-10-24 15:54:15 -0400 |
commit | 68198d27bdb4d66d920fa81406e7e8afe5e17624 (patch) | |
tree | 550c183f9f1675658fb576e064f4f8c151f0e8a4 | |
parent | 5490a0351abc9d6e741baf129300beb2d50051fd (diff) | |
download | traccar-server-68198d27bdb4d66d920fa81406e7e8afe5e17624.tar.gz traccar-server-68198d27bdb4d66d920fa81406e7e8afe5e17624.tar.bz2 traccar-server-68198d27bdb4d66d920fa81406e7e8afe5e17624.zip |
Added jar-with-dependencies target
-rw-r--r-- | pom.xml | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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> |