assembly-plugin include filters

Jürgen Weber <[email protected]> Fri, 2 Jan 2026 15:22:47 +0100
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <CAFNKvH2XEny-_=4rZak2Q9dtFBTz3Aico99c4uqHfJXapmnvSw@mail.gmail.com>
I wanted a dependencySet:includes:include for a

sqlj-1.0.0-SNAPSHOT-dbrm.zip

From https://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html
the idea was a pattern of *:zip:dbrm or *:dbrm
These wouldn't match.

Then I remote debugged
org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter.compile(String)
and tried a few patterns.
these matched: *:*:zip:dbrm  *:*:*:dbrm  *:*:dbrm  *:zip:*

which is a bit surprising, that more special patterns don't match.

Juergen