Permalink
Browse files

Added a .zipped version of the .exe in the build output.

  • Loading branch information...
sk89q committed Jun 13, 2013
1 parent 39f5061 commit 322f13748db442a7b18c83b27b6d29500355f11a
Showing with 21 additions and 8 deletions.
  1. +18 −6 pom.xml
  2. +3 −2 src/main/assembly/default.xml
View
24 pom.xml
@@ -112,12 +112,6 @@
<storepass>${signerPassword}</storepass>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptor>${basedir}/src/main/assembly/default.xml</descriptor>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
@@ -208,6 +202,24 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <descriptor>${basedir}/src/main/assembly/default.xml</descriptor>
+ <finalName>${project.build.finalName}.exe</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
@@ -4,13 +4,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<includeBaseDirectory>false</includeBaseDirectory>
+ <id>zip-exe</id>
<formats>
<format>zip</format>
</formats>
<files>
<file>
- <source>${project.build.directory}/SKMCLauncher.jar</source>
- <destName>SKMCLauncher.jar</destName>
+ <source>${project.build.directory}/SKMCLauncher.exe</source>
+ <destName>SKMCLauncher.exe</destName>
<outputDirectory>/</outputDirectory>
<filtered>false</filtered>
</file>

0 comments on commit 322f137

Please sign in to comment.