IncludesArtifactFilter in maven-artifact should accept wildcards
----------------------------------------------------------------

                 Key: MNG-2621
                 URL: http://jira.codehaus.org/browse/MNG-2621
             Project: Maven 2
          Issue Type: Improvement
          Components: Artifacts
            Reporter: Brian Topping
         Attachments: IncludesArtifactFilter.patch

There is a todo in 
http://svn.apache.org/viewvc/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java?view=markup
 to add regex.  I checked all the sources and could only find usages of this 
code by maven-assembly-plugin, webstart-maven-plugin and exec-maven-plugin.  
The latter two are in mojo.  

If you look at 
http://svn.palle.net/projects/hauskeeper/hauskeeper-server/src/assemblies/debian.xml,
 Trygvis is assuming that wildcards work, when in fact they do not.  Arguably, 
this is a documentation bug that it does not work.

The attached patch fixes this problem.

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