Skip creating source jars in verify job 87/15087/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 27 Mar 2019 17:16:03 +0000 (13:16 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 27 Mar 2019 17:18:50 +0000 (13:18 -0400)
Issue: RELENG-1655
Change-Id: Ibd2aad63afda3feb97619cef67c10c8b665cd924
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-maven-jobs.yaml
releasenotes/notes/mvn-verify-skip-source-39f1e748f5505d4c.yaml [new file with mode: 0644]

index eec378a..dea836b 100644 (file)
     mvn-global-settings: global-settings
     mvn-goals: clean deploy
     mvn-opts: ''
-    mvn-params: '-Dstream=$STREAM'
+    mvn-params: '-Dstream=$STREAM -Dmaven.source.skip=true'
     mvn-version: mvn35
     stream: master
     submodule-recursive: true
diff --git a/releasenotes/notes/mvn-verify-skip-source-39f1e748f5505d4c.yaml b/releasenotes/notes/mvn-verify-skip-source-39f1e748f5505d4c.yaml
new file mode 100644 (file)
index 0000000..36470ae
--- /dev/null
@@ -0,0 +1,6 @@
+---
+other:
+  - |
+    The Maven Verify job will now call ``-Dmaven.source.skip`` to skip source
+    jar generation in the verify job. This saves us some time in the verify
+    build as the source artifacts are not useful in a verify job.