Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Auto Closed
-
2.0, 2.1
-
None
-
None
Description
We are using copy-dependencies and need to exclude our product dependencies (com.company.product:artifact), however we need to include product extensions (com.company.productx.utilities:extentionArtifact). Specifying <excludeGroupIds>com.company.product</excludeGroupIds> should not inherently do a "startsWith", specifying <excludeGroupIds>com.company.product*</excludeGroupIds> should do a "startsWith".
Guilty code from: org.apache.maven.shared.artifact.filter.collection.GroupIdFilter.java
protected boolean compareFeatures( String lhs, String rhs ) { return lhs.startsWith( rhs ); }