diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-08 09:02:17 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-08 09:02:17 +1200 |
commit | 1fde64481bc86b570ebd250784a0844fc4e77043 (patch) | |
tree | 13cc81c6d482a818bb8c95ce3ec340b4cdcad1d4 /pom.xml | |
parent | da2c8348de5d5c11e2b14a5c7f1052863472403f (diff) | |
download | trackermap-server-1fde64481bc86b570ebd250784a0844fc4e77043.tar.gz trackermap-server-1fde64481bc86b570ebd250784a0844fc4e77043.tar.bz2 trackermap-server-1fde64481bc86b570ebd250784a0844fc4e77043.zip |
Move combined JAR task into profile
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 56 |
1 files changed, 33 insertions, 23 deletions
@@ -247,29 +247,6 @@ </configuration> </plugin> <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>3.1.0</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> - <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.4.1</version> <executions> @@ -301,6 +278,39 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>jar-with-dependencies</id> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.0</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> + </profile> + </profiles> <reporting> <plugins> |