maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Grzechoci&#324;ski (JIRA)" <>
Subject [jira] Created: (MWAR-179) <packagingExcludes> should accept regexp to include/exclude specified jars
Date Tue, 13 Jan 2009 17:55:19 GMT
<packagingExcludes> should accept regexp to include/exclude specified jars

                 Key: MWAR-179
             Project: Maven 2.x War Plugin
          Issue Type: Improvement
    Affects Versions: 2.1-alpha-2
         Environment: any
            Reporter: Matthew Grzechoci&#324;ski
            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:
For more information on JIRA, see:


View raw message