Enable mvn site for Honeycomb 35/3135/5
authorMaros Marsalek <mmarsale@cisco.com>
Mon, 26 Sep 2016 08:28:43 +0000 (10:28 +0200)
committerMaros Marsalek <mmarsale@cisco.com>
Tue, 27 Sep 2016 09:10:44 +0000 (09:10 +0000)
To deploy site into docs.fd.io

Works on top of:
https://gerrit.fd.io/r/#/c/3073/
Site distribution configuration:
https://gerrit.fd.io/r/#/c/3073/5/common/honeycomb-parent/pom.xml

... only Ubuntu14 deploys the site during merge job

Note: using site instead of site:site, since only with site we
can hook in groovy maven plugin to fix some generated links. With
site:site, the groovy maven plugin does not get executed.

Change-Id: Ie1086b8d20856dbe15992e67ccc0d15547ce56d3
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
jjb/honeycomb/honeycomb.yaml

index bb02015..4c67850 100644 (file)
@@ -9,8 +9,10 @@
     os:
         - ubuntu1404:
             repo-os-part: 'ubuntu.trusty.main'
+            skip-site: 'false'
         - centos7:
             repo-os-part: 'centos7'
+            skip-site: 'true'
     stream:
         - master:
             branch: 'master'
@@ -63,7 +65,7 @@
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -Dmerge -Dkaraf.keep.unpack=true'
+        goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -Dmerge -Dkaraf.keep.unpack=true site'
         maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
         settings: 'honeycomb-settings'
         settings-type: cfp
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -Dmerge -Dkaraf.keep.unpack=true -Dsonar'
+        goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -Dmerge -Dkaraf.keep.unpack=true -Dsonar -Dmaven.site.skip={skip-site} site -Dmaven.site.deploy.skip={skip-site} site:deploy'
         maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
         settings: 'honeycomb-settings'
         settings-type: cfp