From 7bb133e401f31623104ecd3534e2aab3ffe72009 Mon Sep 17 00:00:00 2001 From: Michael DÜrre Date: Tue, 18 Jan 2022 10:06:31 +0100 Subject: migrate parents to phosphorus-sr1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit generate sr1 parents and add script for this Issue-ID: CCSDK-3565 Signed-off-by: Michael DÜrre Change-Id: I53c5bed11d3d336df5ca99f521a210067663571d Signed-off-by: Michael DÜrre --- tools/README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tools/README.md (limited to 'tools/README.md') diff --git a/tools/README.md b/tools/README.md new file mode 100644 index 00000000..62a8520d --- /dev/null +++ b/tools/README.md @@ -0,0 +1,30 @@ +# CCSDK parent tools + +## migrateOdl.py + +This script tries to generate the ccsdk odl parents out of the existing odl parents and a downloaded and extracted odl folder. + +Usage + +``` +$ python3 tools/migrateOdlParents.py --src ~/Downloads/karaf-0.15.1 +``` + +args: + + * --src opendaylight source folder + * --group-id parent group-id to set (default=org.onap.ccsdk.parent) + * --version parent version to set + * --non-strict flag to stop on fail (default=True) + + +## mkbom.sh + +This script searches for all artifacts in the local odl repository folder $ODL_HOME/system and writes out of this a pom file. This is used to generate the installed-odl-bom/pom.xml. + +Usage: + +``` +$ cd ~/Downloads/opendaylight-15.0.0/system +$ ./your-path-to-odl-parents/tools/mkbom.sh your-group-id your-artifact-id your-version > /your-path-to-odl-parents/installed-odl-bom/pom.xml +``` \ No newline at end of file -- cgit 1.2.3-korg