X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blobdiff_plain;f=lighty%2Fbuild.sh;h=ee04d5e90e4f2b112c9c6971bebc5b88367d600b;hp=2c99dfa1ae67a7b2fe184fb2ab970777c5832e57;hb=HEAD;hpb=1b290f8e8a33836fcf5960ebbd19ae5afe4b17ce diff --git a/lighty/build.sh b/lighty/build.sh index 2c99dfa1a..15b00b37c 100755 --- a/lighty/build.sh +++ b/lighty/build.sh @@ -1,14 +1,8 @@ -#!/bin/bash +#!/bin/sh -cd .. -#mvn clean install -DskipTests -git clone https://github.com/PantheonTechnologies/lighty-core.git -cd lighty-core -git checkout master -mvn clean install -DskipTests -cd ../lighty -mvn clean install -cd target -unzip lighty-transportpce-12.0.0-SNAPSHOT-bin.zip -cd .. -rm -rf ../lighty-core +cd $(dirname "$0") +export JDK_JAVA_OPTIONS="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED" +# uncomment the following line when related artifacts are not avaible on mvn central yet +./build_lighty_core.sh +mvn clean install -B -U -q -Dmaven.javadoc.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -s ../tests/odl_settings.xml -DskipTests +unzip -q target/tpce-bin.zip -d target