excludeGroupId filter doesn't do exact match
--------------------------------------------
Key: MDEP-237
URL: http://jira.codehaus.org/browse/MDEP-237
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Components: copy-dependencies
Affects Versions: 2.1, 2.0
Reporter: Jamie Townsend
Assignee: Brian Fox
Priority: Minor
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
{code}
protected boolean compareFeatures( String lhs, String rhs )
{
return lhs.startsWith( rhs );
}
{code}
--
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