From d1569975bb18f4359fac18aa98f55b69c248a3ad Mon Sep 17 00:00:00 2001 From: "Chinthakayala, Sheshashailavas (sc2914)" Date: Mon, 28 Aug 2017 05:25:46 -0900 Subject: [CCSDK-28] populated the seed code for dgbuilder updated the code to point to the new package name for sli Change-Id: I3b5a1d05dc5193664fd4a667afdcd0b2354010a4 Issue-ID:{CCSDK-28} Signed-off-by: Chinthakayala, Sheshashailavas (sc2914) Signed-off-by: Chinthakayala, Sheshashailavas (sc2914) --- dgbuilder/build_pom_for_yang_compile | 86 ++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100755 dgbuilder/build_pom_for_yang_compile (limited to 'dgbuilder/build_pom_for_yang_compile') diff --git a/dgbuilder/build_pom_for_yang_compile b/dgbuilder/build_pom_for_yang_compile new file mode 100755 index 00000000..c9aa38ac --- /dev/null +++ b/dgbuilder/build_pom_for_yang_compile @@ -0,0 +1,86 @@ +echo "Version of dgbuilder pom is : $4" +echo "Building pom.xml_base for compiling yang" + +model_pom_content=$(cat < + + 4.0.0 + + org.onap.ccsdk.distribution + distribution-root + ${1} + + yangApp-model + bundle + 1.0.0-SNAPSHOT + + + + + org.apache.felix + maven-bundle-plugin + true + + + * + + + + + org.opendaylight.yangtools + yang-maven-plugin + \${odl.yangtools.yang.maven.plugin.version} + + + org.opendaylight.mdsal + maven-sal-api-gen-plugin + \${odl.sal.api.gen.plugin.version} + jar + + + + + + generate-sources + + + \${yang.file.directory} + + + org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl + \${salGeneratorPath} + + + true + + + + + + + + + org.opendaylight.mdsal + yang-binding + \${odl.mdsal.yang.binding.version} + + + org.opendaylight.yangtools + yang-common + \${odl.yangtools.version} + + + org.opendaylight.mdsal.model + ietf-inet-types + \${odl.ietf-inet-types.version} + + + org.opendaylight.mdsal.model + ietf-yang-types + \${odl.ietf-yang-types.version} + + + +EOF +) +echo "$model_pom_content" >tools/pom.xml_base -- cgit 1.2.3-korg