Update lighty.io build
[transportpce.git] / lighty / build_lighty_core.sh
index f1990ee63ba16d24a452351c81a3a208102d93e7..d203aea29aa0090bdcb086952bf48e8602e00237 100755 (executable)
@@ -2,8 +2,9 @@
 
 cd $(dirname "$0")
 cd ..
-git clone https://github.com/PantheonTechnologies/lighty-core.git
-cd lighty-core
-#git checkout master
-git checkout 14.0.x
-mvn clean install -DskipTests -Dmaven.javadoc.skip=true
+git clone https://github.com/PANTHEONtech/lighty.git lighty-repo
+cd lighty-repo
+#git checkout main
+git checkout 19.x
+export JDK_JAVA_OPTIONS="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED"
+mvn clean install -B -U -q -DskipTests -s ../tests/odl_settings.xml -Dmaven.javadoc.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn