Author: peteroyle
Date: 2010-04-28 08:22:19 -0400 (Wed, 28 Apr 2010)
New Revision: 6171
Modified:
java-se/trunk/pom.xml
Log:
WELDSE-1: Added main class to manifest to make the jar executable
Modified: java-se/trunk/pom.xml
===================================================================
--- java-se/trunk/pom.xml 2010-04-28 08:19:38 UTC (rev 6170)
+++ java-se/trunk/pom.xml 2010-04-28 12:22:19 UTC (rev 6171)
@@ -176,6 +176,18 @@
</artifactSet>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+
<mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
</plugins>
</build>