Update lighty.io build 93/108293/5
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 9 Oct 2023 13:30:15 +0000 (15:30 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 10 Oct 2023 07:53:59 +0000 (09:53 +0200)
Lighty 19.x branch is now available in the official repo.
And building lighty.io snapshot is no more required
since Lighty 19.0.0 is out on maven central.
- update lighty pom.xml to use it
- update build shell scripts accordingly
- improve these scripts with more comments and mvn configuration options

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I53b4e2eab890ed63ecd4c5e48ad2a3bf0055fd71

lighty/build.sh
lighty/build_lighty_core.sh
lighty/pom.xml

index 5f058f9d9343e80abf4cb9ede6fb00fae7cdf568..f7756988ac9da3eecb5220a1d7fc77a39d5660eb 100755 (executable)
@@ -2,6 +2,7 @@
 
 cd $(dirname "$0")
 export JDK_JAVA_OPTIONS="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED"
-./build_lighty_core.sh
+# 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
index 5af800b40bbf35f7312ebb622579af4fc1a94e3b..d203aea29aa0090bdcb086952bf48e8602e00237 100755 (executable)
@@ -4,7 +4,7 @@ cd $(dirname "$0")
 cd ..
 git clone https://github.com/PANTHEONtech/lighty.git lighty-repo
 cd lighty-repo
-git checkout main
-#git checkout 18.0.x
+#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 -Dmaven.javadoc.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+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
index 883dad1e606de89b85c51a05cbfed85b8ffd553e..792f66e5eca2b02856da097b5f239569703209e3 100644 (file)
@@ -11,7 +11,7 @@
   <parent>
     <groupId>io.lighty.core</groupId>
     <artifactId>lighty-app-parent</artifactId>
-    <version>19.0.0-SNAPSHOT</version>
+    <version>19.0.0</version>
     <relativePath/>
   </parent>