Permalink
Browse files

Add distribution ZIP/TAR file assembly

  • Loading branch information...
1 parent 6db7902 commit c826d67d02876f02e7f7d836d140dcefb2a52a17 @stuartsierra stuartsierra committed Sep 24, 2010
Showing with 36 additions and 0 deletions.
  1. +8 −0 pom.xml
  2. +28 −0 src/main/assembly/dist.xml
View
@@ -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>
View
@@ -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>

0 comments on commit c826d67

Please sign in to comment.