Given the following dependency inclusion, Maven's XML compilation ...
<dependencySet> <includes> <include>com.company.product:library:jar:*:*</include> </includes>
... why this filter does not include the library: jar, which does not have a classifier?
[INFO] Reading assembly descriptor: assembly/release.xml [WARNING] The following patterns were never triggered in this artifact inclusion filter: o 'com.company.product:library:jar:*:*'
The reason for the additional wildcards in my template is that I also have a profile that creates all my libraries with the qa classifier. When I activate this profile, everything works, but under the default profile (which builds libraries without classifiers) it fails.
If I changed the filter to:
<include>com.company.product:library*</include>
Then the maven build actually fails:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly- plugin:2.3:single (make-assembly) on project java-package: Failed to create assembly: Error adding file 'com.company.product:library:jar:1.0.0-SNAPSHOT' to archive: C:\Subversion\JavaProj\library\target\classes isn't a file. -> [Help 1]
Can someone suggest a template that will include banks with and without a classifier?
source share