maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MASSEMBLY-103) More powerful includes/excludes stuff in DependencySets in descriptors
Date Fri, 27 Oct 2006 06:21:06 GMT
     [ http://jira.codehaus.org/browse/MASSEMBLY-103?page=all ]

John Casey closed MASSEMBLY-103.
--------------------------------

         Assignee: John Casey
       Resolution: Fixed
    Fix Version/s: 2.2

try:

<dependencySet>
  <includes>
    <include>org.apache.maven:*:jar</include>
  </includes>
  <excludes>
    <exclude>org.apache.maven:maven-artifact:*</exclude>
  </excludes
</dependencySet>

> 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
>          Issue Type: New Feature
>    Affects Versions: 2.1
>            Reporter: Richard van der Hoff
>         Assigned To: John Casey
>             Fix For: 2.2
>
>         Attachments: maven-assembly-plugin-filters.patch, maven-assembly-plugin-filters.v2.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

        

Mime
View raw message