Skip to content

Commit

Permalink
Fix build of complete/standalone artifact.
Browse files Browse the repository at this point in the history
Dependency on single, large JAR:
 groupId: org.clojure.contrib
 artifactId: clojure-contrib
 version: 1.3.0-SNAPSHOT
 classifier: standalone

Dependency on multiple, small JARs:
 groupId: org.clojure.contrib
 artifactId: complete
 version: 1.3.0-SNAPSHOT
  • Loading branch information
abrenk committed Oct 1, 2010
1 parent 2e7ef0b commit d6b88cb
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 18 deletions.
2 changes: 1 addition & 1 deletion modules/complete/pom.xml
Expand Up @@ -8,7 +8,7 @@
<relativePath>../parent</relativePath>
</parent>
<artifactId>complete</artifactId>
<packaging>pom</packaging>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.clojure.contrib</groupId>
Expand Down
17 changes: 0 additions & 17 deletions modules/complete/src/main/assemblies/bin.xml

This file was deleted.

15 changes: 15 additions & 0 deletions pom.xml
Expand Up @@ -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>
Expand Down
22 changes: 22 additions & 0 deletions 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>

0 comments on commit d6b88cb

Please sign in to comment.