You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2016/07/17 10:14:20 UTC
[jira] [Closed] (MJAR-224) Not possible to exclude classes from
primary jar only
[ https://issues.apache.org/jira/browse/MJAR-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MJAR-224.
------------------------------------
Resolution: Not A Problem
Assignee: Karl Heinz Marbaise
> Not possible to exclude classes from primary jar only
> -----------------------------------------------------
>
> Key: MJAR-224
> URL: https://issues.apache.org/jira/browse/MJAR-224
> Project: Maven JAR Plugin
> Issue Type: Bug
> Reporter: Sebb
> Assignee: Karl Heinz Marbaise
>
> The <excludes> config item can be used to exclude classes from a jar.
> However, if this is done for the main jar, the exclusion also applies to any other jars created with a different classifier.
> It does not appear to be possible to exclude a class from the main jar and include it in any others.
> This forces the use of other solutions such a the Maven Antrun Plugin
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)