update lighty.io build for Magnesium support
[transportpce.git] / lighty / build.sh
index 2c99dfa..43a4fb7 100755 (executable)
@@ -1,14 +1,15 @@
-#!/bin/bash
+#!/bin/sh
 
+cd $(dirname "$0")
 cd ..
-#mvn clean install -DskipTests
+#mvn clean install -s tests/odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true -Dodlparent.spotbugs.skip -Dodlparent.checkstyle.skip
 git clone https://github.com/PantheonTechnologies/lighty-core.git
 cd lighty-core
-git checkout master
-mvn clean install -DskipTests
+git checkout 12.1.x
+mvn clean install -DskipTests -Dmaven.javadoc.skip=true
 cd ../lighty
-mvn clean install
+mvn clean install -Dmaven.javadoc.skip=true
 cd  target
-unzip lighty-transportpce-12.0.0-SNAPSHOT-bin.zip
+unzip lighty-transportpce-12.1.0-SNAPSHOT-bin.zip
 cd ..
 rm -rf ../lighty-core