Add dependency:sources post build step 84/16284/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 10 Mar 2015 18:23:42 +0000 (14:23 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 10 Mar 2015 18:59:05 +0000 (14:59 -0400)
dependency:sources provides us with a nice post build list of upstream
source jars it was able to download as well as those that are not found.

RT: 9610
Change-Id: I53c092eac75c92d7e24238d0034a2b07bdfc97b7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-lithium.yaml

index 9fce4f82d9320de7fdf27cbaf90e8402feb562e0..7c6705364962e8b2044acd7f3bc795adcf187cff 100644 (file)
         settings: '{autorelease-settings}'
         global-settings: '{odl-global-settings}'
 
+    postbuilders:
+        - maven-target:
+            maven-version: '{mvn32}'
+            pom: 'pom.xml'
+            goals: 'dependency:sources -l sources.log -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+            java-opts:
+                - '-Xmx4096m -XX:MaxPermSize=1024m'
+            settings: '{autorelease-settings}'
+            global-settings: '{odl-global-settings}'
+        - jacoco-nojava-workaround
+
     publishers:
+        - archive-artifacts:
+            artifacts: 'sources.log'
         - email-notification:
             email-prefix: '[autorelease]'