Skip to content

Commit

Permalink
Create a distribution .zip
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Jul 1, 2016
1 parent cee4114 commit b26e7b4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>prepare-dist-zip</id>
<phase>package</phase>
<goals><goal>single</goal></goals>
<configuration>
<descriptor>src/main/assembly/dist.xml</descriptor>
<finalName>ddw-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>

Expand Down
29 changes: 29 additions & 0 deletions src/main/assembly/dist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
<id>dist</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}/configs</directory>
</fileSet>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>ddw-*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>README.md</include>
<include>LICENSE</include>
<include>License_Components.txt</include>
</includes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit b26e7b4

Please sign in to comment.