Modified:
trunk/twxbbs/pom.xml
Log:
Adding all dependencies in the jar so that it can be executable directly
Modified: trunk/twxbbs/pom.xml
==============================================================================
--- trunk/twxbbs/pom.xml (original)
+++ trunk/twxbbs/pom.xml Wed Aug 27 21:26:23 2008
@@ -62,7 +62,37 @@
<target>1.5</target>
</configuration>
</plugin>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ <!--
+ <artifactSet>
+ <includes>
+
<include>org.twdata.maven:mojo-executor</include>
+ </includes>
+ </artifactSet>
+ <relocations>
+ <relocation>
+
<pattern>org.twdata.maven.mojoexecutor</pattern>
+
<shadedPattern>org.shaded.mojoexecutor</shadedPattern>
+ </relocation>
+ </relocations>
+ <transformers>
+ <transformer
implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"
/>
+ </transformers>
+ -->
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>