Please consider http://jira.codehaus.org/browse/MNG-4013
and then http://jira.codehaus.org/browse/MNG-3119 My plan under https://jira.codehaus.org/browse/MNG-5387 is to close 3119 as invalid; there's a legitimate use case for adding 'duplicates' and shade should use it. However, the fix for 4013 isn't much of a fix. It causes the attempt to add the second (and subsequent) items to fail silently, rather than to replace the existing. I think that the net result is that MavenProject.addArtifact should replace rather than ignore a second call. Then, the MavenProjectHelper can have the same semantics, and there's no need to add any functions to that interface. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
