Commits

Micha Kops committed fc55ab1

Switched to another launch4j maven plugin.

Comments (0)

Files changed (1)

 	<artifactId>launch4j-maven-sample</artifactId>
 	<version>0.0.1</version>
 	<name>hasCode Launch4j Maven Example</name>
-	
+
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 	</properties>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-shade-plugin</artifactId>
-				<version>1.7</version>
+				<version>1.7.1</version>
 				<executions>
 					<execution>
 						<phase>package</phase>
 					</transformers>
 				</configuration>
 			</plugin>
-
 			<plugin>
-				<groupId>org.bluestemsoftware.open.maven.plugin</groupId>
-				<artifactId>launch4j-plugin</artifactId>
-				<version>1.5.0.0</version>
+				<groupId>com.akathist.maven.plugins.launch4j</groupId>
+				<artifactId>launch4j-maven-plugin</artifactId>
+				<version>1.5.1</version>
 				<executions>
 					<execution>
-						<id>l4j-gui</id>
+						<id>l4j-clui</id>
 						<phase>package</phase>
 						<goals>
 							<goal>launch4j</goal>
 						</goals>
 						<configuration>
 							<headerType>gui</headerType>
-							<outfile>target/Application.exe</outfile>
-							<jar>target/${artifactId}-${version}-shaded.jar</jar>
-							<errTitle>Application Error</errTitle>
+							<jar>${project.build.directory}/${artifactId}-${version}-shaded.jar</jar>
+							<outfile>${project.build.directory}/hasCode.exe</outfile>
+							<downloadUrl>http://java.com/download</downloadUrl>
 							<classPath>
 								<mainClass>com.hascode.tutorial.Main</mainClass>
+								<preCp>anything</preCp>
 							</classPath>
 							<icon>src/main/resources/icon/application.ico</icon>
 							<jre>
-								<minVersion>1.5.0</minVersion>
-								<maxVersion>1.7.0</maxVersion>
-								<initialHeapSize>128</initialHeapSize>
-								<maxHeapSize>1024</maxHeapSize>
+								<minVersion>1.6.0</minVersion>
+								<jdkPreference>preferJre</jdkPreference>
 							</jre>
 							<versionInfo>
 								<fileVersion>1.0.0.0</fileVersion>
-								<txtFileVersion>1.0.0.0</txtFileVersion>
+								<txtFileVersion>${project.version}</txtFileVersion>
 								<fileDescription>${project.name}</fileDescription>
 								<copyright>2012 hasCode.com</copyright>
 								<productVersion>1.0.0.0</productVersion>
 								<txtProductVersion>1.0.0.0</txtProductVersion>
 								<productName>${project.name}</productName>
-								<internalName>${project.name}</internalName>
-								<originalFilename>Application.exe</originalFilename>
+								<companyName>hasCode.com</companyName>
+								<internalName>hasCode</internalName>
+								<originalFilename>hasCode.exe</originalFilename>
 							</versionInfo>
 						</configuration>
 					</execution>
 			</plugin>
 		</plugins>
 	</build>
-</project>
+</project>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.