Disable duplicate-finder plugin for validate 70/67370/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 20 Jan 2018 01:53:36 +0000 (20:53 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 20 Jan 2018 05:44:32 +0000 (00:44 -0500)
odlparent introduced a duplicate-finder plugin which breaks our
validate job as the finder plugin appears to want to be able to
discover dependencies in the local m2 repo. Disable it as we do
not need it in this job.

Change-Id: I9db3fea19edbd6a3e09d8ccdb290e9dc81e19b54
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-templates.yaml

index 588d9053cde5b5706adcddb2eeb48e2af952d05e..3dfe884835470c2a48da3a18dcbc9745cbbf665f 100644 (file)
           settings-type: cfp
           global-settings: global-settings
           global-settings-type: cfp
+      # Hack to workaround the duplicate-finder plugin in odlparent breaking validate-autorelease
+      - shell: sed -i 's/validate/none/' /tmp/r/org/opendaylight/odlparent/odlparent/3.0.2/odlparent-3.0.2.pom
       - maven-target:
           maven-version: mvn33
           pom: pom.xml