From 4cc1e4b946aedcf6c34550d1903e9bd13e6e160b Mon Sep 17 00:00:00 2001 From: "Chinthakayala, Sheshashailavas" Date: Fri, 7 Apr 2017 08:18:56 -0900 Subject: [SDNC-5] added yang upload and added break node Change-Id: I8d36b5d400a51a6ebc248b100f04284cf27abcad Signed-off-by: Chinthakayala, Sheshashailavas Former-commit-id: ae6804f3c5805f78198b26de88ceb6dfa9bb335b --- 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..9ea090a6 --- /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.openecomp.sdnc.core + 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