maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane StClair (JIRA)" <>
Subject [jira] (MSHADE-111) minimizeJar should not remove classes specifically included by filters
Date Sun, 11 Mar 2012 20:23:02 GMT


Shane StClair updated MSHADE-111:

    Attachment: mshade-111-fixed-again.patch

Ok, this patch should be the definitive version. Filter include patterns now only apply to
the specified artifacts. Please delete/disregard the previous patches. This patch should be
ready for review and application.
> minimizeJar should not remove classes specifically included by filters
> ----------------------------------------------------------------------
>                 Key: MSHADE-111
>                 URL:
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.5
>            Reporter: Shane StClair
>         Attachments: mshade-111-fixed-again.patch, mshade-111-fixed.patch, mshade-111.patch
> Currently there is no way to specify classes that should not be removed by minimizeJar.
This means that projects using dynamically loaded classes (log4j, for instance) cannot use
minimizeJar. This patch prevents minimizeJar from removing classes that were specified for
inclusion in a filter.
> The patch also fixes a test in ComponentsXmlResourceTransformerTest that was failing
on Windows due to different line breaks in a string comparison.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message