summaryrefslogtreecommitdiffstats
path: root/tools/README.md
blob: 62a8520dc0d64f15243525de0b726ea3af1a1c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
```