aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brenk <mail@andreasbrenk.com>2010-10-01 20:18:53 +0200
committerAndreas Brenk <mail@andreasbrenk.com>2010-10-01 20:20:29 +0200
commit40d7ba0c7dbfdcce11f8a8955e3bcbe263f36de4 (patch)
treedc2f58c14241dcb1eaeb9fe9eb210b23d1cfeef3
parentd6b88cba1065c4ae9c7df2c0966147dd428c1c41 (diff)
Add separate module for standalone uberjar.
Dependency on single, large JAR: groupId: org.clojure.contrib artifactId: standalone version: 1.3.0-SNAPSHOT Dependency on multiple, small JARs: groupId: org.clojure.contrib artifactId: complete version: 1.3.0-SNAPSHOT
-rw-r--r--modules/standalone/pom.xml323
-rw-r--r--pom.xml17
-rw-r--r--src/main/assembly/standalone.xml22
3 files changed, 326 insertions, 36 deletions
diff --git a/modules/standalone/pom.xml b/modules/standalone/pom.xml
new file mode 100644
index 00000000..bfddc333
--- /dev/null
+++ b/modules/standalone/pom.xml
@@ -0,0 +1,323 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <artifactId>standalone</artifactId>
+ <packaging>jar</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>accumulators</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>agent-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>base64</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>classpath</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>combinatorics</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>command-line</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>complex-numbers</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>cond</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>condition</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>core</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>dataflow</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>datalog</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>def</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>error-kit</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>except</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>fcase</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>find-namespaces</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>fnmap</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>gen-html-docs</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>generic</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>graph</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>greatest-least</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>import-static</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>jar</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>jmx</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>json</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>lazy-seqs</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>lazy-xml</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>logging</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>macro-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>macros</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>map-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>math</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>miglayout</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>mmap</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>mock</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>monadic-io-streams</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>monads</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>ns-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>priority-map</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>probabilities</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>profile</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>prxml</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>reflect</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>repl-ln</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>repl-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>seq</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>server-socket</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>set</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>singleton</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>sql</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>stream-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>strint</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>swing-utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>trace</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>types</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>with-ns</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.clojure.contrib</groupId>
+ <artifactId>zip-filter</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ <executions>
+ <execution>
+ <id>standalone</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/pom.xml b/pom.xml
index dc29d511..4ca26545 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,6 +19,9 @@
<!-- The complete module depends on all other modules. -->
<module>modules/complete</module>
+ <!-- The standalone module packages all other modules. -->
+ <module>modules/standalone</module>
+
<module>modules/accumulators</module>
<module>modules/agent-utils</module>
<module>modules/base64</module>
@@ -96,20 +99,6 @@
<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
deleted file mode 100644
index 94cbfcd5..00000000
--- a/src/main/assembly/standalone.xml
+++ /dev/null
@@ -1,22 +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>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>