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

Loading…
Cancel
Save