Fail build if classpath contains duplicates 08/50908/13
authorMichael Vorburger <vorburger@redhat.com>
Mon, 23 Jan 2017 21:41:14 +0000 (22:41 +0100)
committerStephen Kitt <skitt@redhat.com>
Wed, 8 Nov 2017 16:53:36 +0000 (16:53 +0000)
commita67b97e241c7b14b4c7cbc4df6108e8bf89c1d58
treece362d7b684c9687a310cc708aebe310958538e4
parent73ff9c34b96f78087b7cc035904fb26a4d462e57
Fail build if classpath contains duplicates

duplicate-finder-maven-plugin fails build if duplicate classpath entries
see https://github.com/basepom/duplicate-finder-maven-plugin/

This is currently not enforced, but projects opt-in to this quality via:

  <properties><duplicate-finder.skip>false

FTR: There are a few other tools in this space, incl. e.g.
http://www.mojohaus.org/extra-enforcer-rules/banDuplicateClasses.html
and http://tattletale.jboss.org/ and http://jhades.github.io, but
duplicate-finder-maven-plugin fits best here.

See https://git.opendaylight.org/gerrit/#/c/50851/ for a related util.

Bug: 7662
Change-Id: I79142549ba7c739ce39285d35f179172d7b099a6
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
features-test/pom.xml
features/odl-akka-system-2.5/pom.xml
karaf-util/pom.xml
karaf/opendaylight-karaf-resources/pom.xml
odlparent-lite/pom.xml
odlparent/pom.xml