Fix dependencies:sources output file to path 98/20298/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 13 May 2015 20:50:30 +0000 (16:50 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 13 May 2015 20:51:23 +0000 (16:51 -0400)
Fixes issue where Maven is creating local sources.log files for each
artifact.

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

index 1cb313777cc9974bf2a1325fd43a41667c43dae3..e9b9f1fd236130579fbeabeba10bac946d2fd037 100644 (file)
@@ -43,7 +43,7 @@
         - maven-target:
             maven-version: '{maven-version}'
             pom: 'pom.xml'
-            goals: 'dependency:sources -DoutputFile=sources.log -DappendOutput -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+            goals: 'dependency:sources -DoutputFile=$WORKSPACE/sources.log -DappendOutput -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
             java-opts:
                 - '-Xmx4096m -XX:MaxPermSize=1024m'
             settings: '{settings}'