Prepare use of Lighty core dev SNAPSHOTs 89/95889/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 2 Apr 2021 09:23:06 +0000 (11:23 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Thu, 22 Apr 2021 19:47:19 +0000 (21:47 +0200)
- create a shell script to build lighty core dev SNAPSHOTs
  (not available in maven central)
- prefill parameters to use 14.0.1-SNASPHOT
- update README.md and other materials

JIRA: TRNSPRTPCE-442
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I754efa99c4afd0b8861af62cab386170de9757c9

lighty/README.md
lighty/build.sh
lighty/build_lighty_core.sh [new file with mode: 0755]
lighty/pom.xml

index e4c4d98..661b732 100644 (file)
@@ -9,13 +9,20 @@ This project starts [TransportPCE](https://git.opendaylight.org/gerrit/#/admin/p
 
 #### Before compiling Lighty-TransportPCE
 1. Make sure upstream projects are compiled locally and stored in local ``~/.m2/repository``:
-2. compile __transportpce/silicon__
+2. compile __transportpce/master__
 ```
-git clone -b stable/silicon https://git.opendaylight.org/gerrit/transportpce && (cd transportpce && curl -kLo `git rev-parse --git-dir`/hooks/commit-msg https://git.opendaylight.org/gerrit/tools/hooks/commit-msg; chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
+git clone https://git.opendaylight.org/gerrit/transportpce && (cd transportpce && curl -kLo `git rev-parse --git-dir`/hooks/commit-msg https://git.opendaylight.org/gerrit/tools/hooks/commit-msg; chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
 cd transportpce
 ```
 mvn clean install -s tests/odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true -Dodlparent.spotbugs.skip -Dodlparent.checkstyle.skip
 ```
+3. compile __lighty-core/master__
+```
+git clone https://github.com/PantheonTechnologies/lighty-core.git
+cd lighty-core
+git checkout master
+mvn clean install -DskipTests -Dmaven.javadoc.skip=true
+```
 #### Compile Lighty-TransportPCE
 * Project is build using maven command:
 ```
index 22700b5..71583b5 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 cd $(dirname "$0")
+#./build_lighty_core.sh
 #mvn clean install -s tests/odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true -Dodlparent.spotbugs.skip -Dodlparent.checkstyle.skip
 mvn clean install -Dmaven.javadoc.skip=true
 unzip -q target/tpce-bin.zip -d target
diff --git a/lighty/build_lighty_core.sh b/lighty/build_lighty_core.sh
new file mode 100755 (executable)
index 0000000..f1990ee
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+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
index d2bf948..a577fa4 100644 (file)
         <groupId>io.lighty.core</groupId>
         <artifactId>lighty-app-parent</artifactId>
         <version>14.0.0</version>
-        <!--
-        lighty-core is usually released a few days before the official Opendaylight release.
-        13.0.0 = Aluminium release of 2020/09/18
-        -->
+        <!--version>14.0.1-SNAPSHOT</version-->
         <relativePath />
     </parent>