You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2009/02/17 23:01:19 UTC

[jira] Closed: (MWAR-179) should accept regexp to include/exclude specified jars

     [ http://jira.codehaus.org/browse/MWAR-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MWAR-179.
--------------------------------

    Resolution: Duplicate

> <packagingExcludes> should accept regexp to include/exclude specified jars
> --------------------------------------------------------------------------
>
>                 Key: MWAR-179
>                 URL: http://jira.codehaus.org/browse/MWAR-179
>             Project: Maven 2.x War Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1-alpha-2
>         Environment: any
>            Reporter: Matthew Grzechocinski
>            Priority: Minor
>
> It will be nice to be able to pass regular expression fo <packagingExcludes>. 
> Now we can only specify WEB-INF/lib/*.jar and it will exclude all jars. What if I have o profile in which I want to exclude all external libraries which are stored on server (and there are many of them) but I want to include submodules of my application. Copying dependencies to profile with <scope>provided</scope> creates my pom really messy. 
> Summing up, It will be nice to set <packagingExcludes>^WEB-INF/lib/prefix*.jar<packagingExcludes> to exclude all jars except those which starts with prefix.
> Can I expect this feature in the nearest future?

-- 
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