More powerful includes/excludes stuff in DependencySets in descriptors
----------------------------------------------------------------------

         Key: MASSEMBLY-103
         URL: http://jira.codehaus.org/browse/MASSEMBLY-103
     Project: Maven 2.x Assembly Plugin
        Type: New Feature

    Versions: 2.1    
    Reporter: Richard van der Hoff
 Attachments: maven-assembly-plugin-filters.patch

A couple of other issues - http://jira.codehaus.org/browse/MASSEMBLY-90, 
http://jira.codehaus.org/browse/MASSEMBLY-41 - have pointed out the need for 
more powerful filtering of dependency sets in assembly descriptors. I wanted to 
take this further, so as to allow quite powerful boolean expressions for the 
description of dependencies. For example, the assembly extract below will 
include anything which is not a "zip" in the org.apache.maven.* or 
org.codehaus.* groups.

The attachment contains an implementation of this, and a couple of testcases 
for the new functionality.


<dependencySet>
  <filter>
    <negate>false</negate>
    <subfilters>
      <filter>
        <matchAll>false</matchAll>
        <matchers>
          <matcher>
            <group>org.apache.maven.*</group>
          </matcher>
          <matcher>
            <group>org.codehaus.*</group>
          </matcher>
        </matchers>
      </filter>
    </subfilters>
    <matchers>
      <matcher>
        <type>zip</type>
      </matcher>
    </matchers>
  </filter>
</dependencySet>

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