[
http://jira.codehaus.org/browse/MSHADE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=190012#action_190012
]
Benjamin Bentmann commented on MSHADE-62:
-----------------------------------------
Paul, did you try the example I pointed at, e.g. something like
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>com.thoughtworks.paranamer:paranamer</artifact>
<excludes>
<exclude>com/thoughtworks/paranamer/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
{code}
> We need an <obliterate/> element - to TRULY exclude classes from resulting
> jar
> -------------------------------------------------------------------------------
>
> Key: MSHADE-62
> URL: http://jira.codehaus.org/browse/MSHADE-62
> Project: Maven 2.x Shade Plugin
> Issue Type: New Feature
> Reporter: Paul Hammant
>
> 'exclusions' is misnamed - it should be 'leaveAsIs' or somesuch.
> I want to totally exclude some packages or classes from the resulting jar.
> As in leave them out, or kill them, or don't have them at all in the
> resulting jar. Neither as their original class name nor their potential new
> class name.
> Perforce has an 'obliterate' concept, given exclude is already used in shade,
> maybe obliterate is the new element for this essential feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira