aboutsummaryrefslogtreecommitdiff
path: root/calculator-java/pom.xml
diff options
context:
space:
mode:
authorMaël Gassmann <mael.gassmann@students.bfh.ch>2021-06-12 15:25:46 +0200
committerMaël Gassmann <mael.gassmann@students.bfh.ch>2021-06-12 15:25:46 +0200
commitb48f42bba5525a99e6d59b07f2e6fd1271896f87 (patch)
treec18207e2046cc19a63e70a1d49956d89bc4a45bd /calculator-java/pom.xml
parent0afb650d149a0ff9dcc9777c0ec041c533b136b4 (diff)
[~] Edited pom.xml to only generate one *valid* jar
Diffstat (limited to 'calculator-java/pom.xml')
-rw-r--r--calculator-java/pom.xml18
1 files changed, 3 insertions, 15 deletions
diff --git a/calculator-java/pom.xml b/calculator-java/pom.xml
index a7a56f8..e37dfbc 100644
--- a/calculator-java/pom.xml
+++ b/calculator-java/pom.xml
@@ -39,29 +39,17 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
+ <artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- <archive>
+ <archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>${main.class}</mainClass>
</manifest>
</archive>
</configuration>
- <executions>
- <execution>
- <id>assemble-all</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
</build>
-</project> \ No newline at end of file
+</project>