aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2010-09-24 11:22:27 -0400
committerStuart Sierra <mail@stuartsierra.com>2010-09-24 11:22:27 -0400
commitc826d67d02876f02e7f7d836d140dcefb2a52a17 (patch)
tree101cc16f199e8d6f6e8df9319c8183dd9dc98c84
parent6db79024327644801a8346462fec888564bc8d59 (diff)
Add distribution ZIP/TAR file assembly
-rw-r--r--pom.xml8
-rw-r--r--src/main/assembly/dist.xml28
2 files changed, 36 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 911d4f79..01302b67 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,6 +88,14 @@
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/dist.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
</plugins>
</build>
<distributionManagement>
diff --git a/src/main/assembly/dist.xml b/src/main/assembly/dist.xml
new file mode 100644
index 00000000..54fdec91
--- /dev/null
+++ b/src/main/assembly/dist.xml
@@ -0,0 +1,28 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>dist</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ <format>tar.bz2</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}</directory>
+ <outputDirectory>/</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <includes>
+ <include>README.*</include>
+ <include>epl-v10.*</include>
+ <include>NOTICE.*</include>
+ <include>Revisions</include>
+ <include>pom.xml</include>
+ <include>src/**</include>
+ <include>target/*.jar</include>
+ <include>launchers/**</include>
+ <include>clojurescript/**</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly> \ No newline at end of file