maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <>
Subject [jira] Updated: (MSOURCES-6) Sources plugin ignores resource includes/excludes
Date Thu, 06 Jul 2006 18:25:22 GMT
     [ ]

Micah Whitacre updated MSOURCES-6:


> Sources plugin ignores resource includes/excludes
> -------------------------------------------------
>          Key: MSOURCES-6
>          URL:
>      Project: Maven 2.x Sources Plugin
>         Type: Bug

>     Versions: 2.0.1
>     Reporter: Matthew Beermann
>     Priority: Critical
>      Fix For: 2.0.2
>  Attachments:, patch.txt
> The sources plugin appears to ignore the <includes> and <excludes> filters
on <resource> items. I discovered this because I have a project that needs to package
certain files that appear in the project root; e.g. <directory>.</directory>,
and then I <include> certain files.
> Trouble is, when the source plugin runs, it packages up EVERYTHING - including the stuff
in the "target" (output) directory! This leads to a source attachment that's much too large.
Worse, if you forget to clean between builds, the size of the source jar will increase exponentially
with each build.
> Checking out the source code at,
I think the problem is in the addDirectories() method, which is simply adding resource.getDirectory()
and dropping the other information on the floor.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message