Print

Print


Commit in GeomConverter on MAIN
pom.xml+301.59 -> 1.60
switch to using shade plugin instead of maven assembly; confirmed works

GeomConverter
pom.xml 1.59 -> 1.60
diff -u -r1.59 -r1.60
--- pom.xml	3 Dec 2010 01:19:01 -0000	1.59
+++ pom.xml	26 Jan 2011 05:10:42 -0000	1.60
@@ -20,6 +20,7 @@
                     </excludes>
                 </configuration>
             </plugin>
+<!--
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <executions>
@@ -41,6 +42,35 @@
                     </execution>
                 </executions>
             </plugin>
+-->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>1.3.3</version>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <shadedArtifactAttached>true</shadedArtifactAttached>
+                            <shadedClassifierName>bin</shadedClassifierName>
+                            <transformers>
+                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
+                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+                                    <mainClass>org.lcsim.geometry.compact.converter.Main</mainClass>
+                                </transformer>
+                            </transformers>
+                            <artifactSet>
+                                <excludes>
+                                    <exclude>hep.testdata.aida:*</exclude>
+                                </excludes>
+                            </artifactSet>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>                 
             <!-- This is useful for GeomConverter developers so lcsim build doesn't need to be executed
                  for JAS3 install. -->
             <plugin>
CVSspam 0.2.8