aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-08 09:02:17 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-08 09:02:17 +1200
commit1fde64481bc86b570ebd250784a0844fc4e77043 (patch)
tree13cc81c6d482a818bb8c95ce3ec340b4cdcad1d4
parentda2c8348de5d5c11e2b14a5c7f1052863472403f (diff)
downloadtrackermap-server-1fde64481bc86b570ebd250784a0844fc4e77043.tar.gz
trackermap-server-1fde64481bc86b570ebd250784a0844fc4e77043.tar.bz2
trackermap-server-1fde64481bc86b570ebd250784a0844fc4e77043.zip
Move combined JAR task into profile
-rw-r--r--pom.xml56
1 files changed, 33 insertions, 23 deletions
diff --git a/pom.xml b/pom.xml
index db985e63c..27864a299 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>