diff options
-rw-r--r-- | modules/complete/pom.xml | 2 | ||||
-rw-r--r-- | modules/complete/src/main/assemblies/bin.xml | 17 | ||||
-rw-r--r-- | pom.xml | 15 | ||||
-rw-r--r-- | src/main/assembly/standalone.xml | 22 |
4 files changed, 38 insertions, 18 deletions
diff --git a/modules/complete/pom.xml b/modules/complete/pom.xml index 94c0d0eb..ca9b97c0 100644 --- a/modules/complete/pom.xml +++ b/modules/complete/pom.xml @@ -8,7 +8,7 @@ <relativePath>../parent</relativePath> </parent> <artifactId>complete</artifactId> - <packaging>pom</packaging> + <packaging>jar</packaging> <dependencies> <dependency> <groupId>org.clojure.contrib</groupId> diff --git a/modules/complete/src/main/assemblies/bin.xml b/modules/complete/src/main/assemblies/bin.xml deleted file mode 100644 index 607ac863..00000000 --- a/modules/complete/src/main/assemblies/bin.xml +++ /dev/null @@ -1,17 +0,0 @@ -<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>bin</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <unpack>true</unpack> - <excludes> - <exclude>org.clojure:clojure</exclude> - </excludes> - </dependencySet> - </dependencySets> -</assembly>
\ No newline at end of file @@ -90,11 +90,26 @@ </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-5</version> <configuration> <descriptors> <descriptor>src/main/assembly/dist.xml</descriptor> </descriptors> </configuration> + <executions> + <execution> + <id>standalone</id> + <phase>package</phase> + <configuration> + <descriptors> + <descriptor>src/main/assembly/standalone.xml</descriptor> + </descriptors> + </configuration> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> </plugin> </plugins> </build> diff --git a/src/main/assembly/standalone.xml b/src/main/assembly/standalone.xml new file mode 100644 index 00000000..94cbfcd5 --- /dev/null +++ b/src/main/assembly/standalone.xml @@ -0,0 +1,22 @@ +<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>standalone</id> + <formats> + <format>jar</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <moduleSets> + <moduleSet> + <sources> + <includeModuleDirectory>false</includeModuleDirectory> + <fileSets> + <fileSet> + <directory>src/main/clojure</directory> + <outputDirectory></outputDirectory> + </fileSet> + </fileSets> + </sources> + </moduleSet> + </moduleSets> +</assembly> |