changeset 24:283a4435743b

Added assembly configuration to pom to create self contained JAR.
author Roman Kennke <roman.kennke@sun.com>
date Wed, 16 Mar 2011 22:28:11 +0100
parents 93f66dd56986
children da537f70dec2
files pom.xml
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pom.xml	Wed Mar 16 02:05:17 2011 +0100
+++ b/pom.xml	Wed Mar 16 22:28:11 2011 +0100
@@ -42,6 +42,20 @@
           <target>1.6</target>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.2.1</version>
+        <configuration>
+          <descriptorRefs>
+            <descriptorRef>jar-with-dependencies</descriptorRef>
+          </descriptorRefs>
+          <archive>
+            <manifest>
+              <mainClass>org.icedrobot.daneel.rewriter.Main</mainClass>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <repositories>