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.sli.core ccsdk-sli-core LATEST 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.mdsal.binding.maven.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