X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blobdiff_plain;f=lighty%2Fbuild.sh;h=86d2781ba7363341fe071fb46cad898000a0eae8;hp=5962381e364e5311fdaa3c4441aeb612277d795d;hb=HEAD;hpb=45de2604acea011072a5478eaead6ffb96e1e6ea diff --git a/lighty/build.sh b/lighty/build.sh index 5962381e3..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 10.0.x -mvn clean install -DskipTests -cd ../lighty -mvn clean install -cd target -unzip lighty-transportpce-10.0.1-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