Add group discriminant in case of conflict

Prior to this commit, the repackage goal silently ignored the case of
two libraries having the same name and version but a different group.
As a result, the second library was overwriting the first one in the
repackaged jar.

This commit adds support for custom Library names and updates the
Maven and Gradle plugins so that the name includes the group ID
when there would otherwise be a duplicate.

Fixes gh-1475
This commit is contained in:
Stephane Nicoll
2014-09-03 11:16:49 -07:00
committed by Phillip Webb
parent 449752c9e2
commit f46fe32264
69 changed files with 299 additions and 25 deletions