Maven Shared Components
  1. Maven Shared Components
  2. MSHARED-7

Add stricter pattern filters to maven-common-artifact-filters

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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.

      1. IncludesArtifactFilter.patch
        1.0 kB
        Brian Topping
      2. MNG-2621.patch
        13 kB
        Mark Hobson

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Mark Hobson
            Reporter:
            Brian Topping
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development