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>
- 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}'