Skip to content

Commit

Permalink
Added a .zipped version of the .exe in the build output.
Browse files Browse the repository at this point in the history
  • Loading branch information
sk89q committed Jun 13, 2013
1 parent 39f5061 commit 322f137
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
24 changes: 18 additions & 6 deletions pom.xml
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
5 changes: 3 additions & 2 deletions src/main/assembly/default.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 322f137

Please sign in to comment.