Browse Source

altering maven to provide executable jar

drop_old_mail
Stephan Richter 3 years ago
parent
commit
483bd48d2d
  1. 9
      pom.xml

9
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.4</version>
<version>0.2.5</version>
<build>
<plugins>
<plugin>
@ -18,15 +18,16 @@ @@ -18,15 +18,16 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>de.srsoftware.widerhall.Application</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>

Loading…
Cancel
Save