Enable NSH_SFC to use mvn to build its java bindings 37/2537/1
authorEd Warnicke <eaw@cisco.com>
Mon, 29 Aug 2016 19:36:41 +0000 (12:36 -0700)
committerEd Warnicke <eaw@cisco.com>
Mon, 29 Aug 2016 19:36:41 +0000 (12:36 -0700)
Change-Id: Ie337a3de765d290f4777577f35ad3563668958e8
Signed-off-by: Ed Warnicke <eaw@cisco.com>
jjb/nsh_sfc/include-raw-nsh_sfc-build.sh
jjb/nsh_sfc/nsh_sfc.yaml

index 1d5d27c..1257b7f 100644 (file)
@@ -28,6 +28,9 @@ fi
 echo "sha1sum of this script: ${0}"
 sha1sum $0
 
+export MAVEN_HOME="/opt/apache/maven/"
+export PATH=${MAVEN_HOME}/bin:${PATH}
+
 scripts/ci/verify.sh
 
 echo "*******************************************************************"
index 6a21f5c..ab8265b 100644 (file)
             branch: '{branch}'
 
     builders:
+        - maven-target:
+            maven-version: '{mvn33}'
+            goals: '--version'
+            settings: 'vpp-settings'
+            settings-type: cfp
+            global-settings: 'global-settings'
+            global-settings-type: cfp
         - shell:
             !include-raw-escape:
                 - ../scripts/cleanup_vpp_plugin_dev_env.sh
                 notbuilt: true
 
     builders:
+        - maven-target:
+            maven-version: '{mvn33}'
+            goals: '--version'
+            settings: 'vpp-settings'
+            settings-type: cfp
+            global-settings: 'global-settings'
+            global-settings-type: cfp
         - shell:
             !include-raw-escape:
                 - ../scripts/cleanup_vpp_plugin_dev_env.sh