Author: jdcasey
Date: Tue Jan 22 10:22:59 2008
New Revision: 614281

URL: http://svn.apache.org/viewvc?rev=614281&view=rev
Log:
Shading retrotranslator to remove the need to handle it as a dependency when 
using maven-artifact that has been retrotranslated.

Modified:
    maven/artifact/trunk/pom.xml

Modified: maven/artifact/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/artifact/trunk/pom.xml?rev=614281&r1=614280&r2=614281&view=diff
==============================================================================
--- maven/artifact/trunk/pom.xml (original)
+++ maven/artifact/trunk/pom.xml Tue Jan 22 10:22:59 2008
@@ -144,6 +144,40 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>shade-maven-plugin</artifactId>
+        <groupId>org.codehaus.mojo</groupId>
+        <version>1.0-alpha-12</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <createDependencyReducedPom>false</createDependencyReducedPom>
+              
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
+              <transformers>
+                <transformer 
implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer"/>
+              </transformers>
+              <artifactSet>
+                <includes>
+                  
<include>net.sf.retrotranslator:retrotranslator-runtime</include>
+                  
<include>backport-util-concurrent:backport-util-concurrent</include>
+                </includes>
+              </artifactSet>
+              <relocations>
+                <relocation>
+                  <pattern>net.sf.retrotranslator.runtime</pattern>
+                </relocation>
+                <relocation>
+                  <pattern>edu.emory.mathcs</pattern>
+                </relocation>
+              </relocations>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>


Reply via email to