77 lines
2.3 KiB
XML
77 lines
2.3 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>amidst</groupId>
|
|
<artifactId>windows-wrapper</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<build>
|
|
<finalName>${amidst.build.filename}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>read-project-properties</goal>
|
|
</goals>
|
|
<configuration>
|
|
<files>
|
|
<file>../../src/main/resources/amidst/metadata.properties</file>
|
|
</files>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>1.7.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>launch4j</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>launch4j</goal>
|
|
</goals>
|
|
<configuration>
|
|
<headerType>gui</headerType>
|
|
<outfile>../../target/${amidst.build.filename}.exe</outfile>
|
|
<jar>../../target/${amidst.build.filename}-jar-with-dependencies.jar</jar>
|
|
<dontWrapJar>false</dontWrapJar>
|
|
<errTitle>Error in Launcher</errTitle>
|
|
<classPath>
|
|
<mainClass>amidst.Amidst</mainClass>
|
|
<addDependencies>false</addDependencies>
|
|
</classPath>
|
|
<icon>../../target/icon.ico</icon>
|
|
<jre>
|
|
<minVersion>${amidst.build.jdk.version}.0</minVersion>
|
|
<initialHeapSize>512</initialHeapSize>
|
|
<maxHeapSize>1024</maxHeapSize>
|
|
</jre>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>1.7.8</version>
|
|
<type>maven-plugin</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<type>maven-plugin</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |