Commit 282fab9d authored by hm-schuhba1's avatar hm-schuhba1

add launch4j to pom to create windows executables.

parent 9def8bab
Pipeline #76521 failed with stages
in 105 minutes and 43 seconds
......@@ -36,6 +36,8 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
......@@ -113,6 +115,42 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<executions>
<execution>
<id>vadere-gui</id>
<phase>package</phase>
<goals><goal>launch4j</goal></goals>
<configuration>
<headerType>gui</headerType>
<outfile>target/vadere.exe</outfile>
<jar>target/vadere.jar</jar>
<errTitle>vadere</errTitle>
<icon>../vadere-gui.ico</icon>
<classPath>
<mainClass>org.vadere.gui.projectview.VadereApplication</mainClass>
</classPath>
<jre>
<minVersion>1.8.0</minVersion>
</jre>
<versionInfo>
<fileVersion>0.0.0.6</fileVersion>
<txtFileVersion>0.0.0.6</txtFileVersion>
<fileDescription>Vadere is an open source framework for the simulation of microscopic pedestrian dynamics.</fileDescription>
<copyright>GNU Lesser General Public License (LGPL)</copyright>
<productVersion>0.0.0.6</productVersion>
<txtProductVersion>0.0.0.6</txtProductVersion>
<productName>Vadere</productName>
<internalName>vadere</internalName>
<originalFilename>vadere.exe</originalFilename>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
......
......@@ -140,6 +140,41 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<executions>
<execution>
<id>vadere-console</id>
<phase>package</phase>
<goals><goal>launch4j</goal></goals>
<configuration>
<headerType>console</headerType>
<outfile>target/vadere-console.exe</outfile>
<jar>target/vadere-console.jar</jar>
<errTitle>vadere</errTitle>
<icon>../vadere-cmd.ico</icon>
<classPath>
<mainClass>org.vadere.gui.projectview.VadereApplication</mainClass>
</classPath>
<jre>
<minVersion>1.8.0</minVersion>
</jre>
<versionInfo>
<fileVersion>0.0.0.6</fileVersion>
<txtFileVersion>0.0.0.6</txtFileVersion>
<fileDescription>Vadere is an open source framework for the simulation of microscopic pedestrian dynamics.</fileDescription>
<copyright>GNU Lesser General Public License (LGPL)</copyright>
<productVersion>0.0.0.6</productVersion>
<txtProductVersion>0.0.0.6</txtProductVersion>
<productName>Vadere-console</productName>
<internalName>vadere-console</internalName>
<originalFilename>vadere-console.exe</originalFilename>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment