<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 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: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to