From a9745368cd537d2e38d8ecaeffda179eb2b4e764 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 30 Jul 2013 10:27:03 +0200 Subject: [PATCH] Wire MD-SAL code generator These changes bring in the infrastructure needed for model-driven SAL integration. The use is currently disabled as the tools fail with correct YANG models. Change-Id: I5de64e724bb2c2adcfa0573a6613fded60f11d7e Signed-off-by: Robert Varga --- pcep/api/pom.xml | 72 ++++++++++++++++++++++++++++++++++++++++++++++-- pom.xml | 56 ++++++++++++++++++++++++++++++++----- 2 files changed, 119 insertions(+), 9 deletions(-) diff --git a/pcep/api/pom.xml b/pcep/api/pom.xml index 1d3fb700c8..eefba4ae12 100644 --- a/pcep/api/pom.xml +++ b/pcep/api/pom.xml @@ -39,11 +39,79 @@ mockito-configuration 1.0 test - + + + + + org.opendaylight.controller + yang-binding + 0.5.4-SNAPSHOT + + + org.opendaylight.controller + yang-common + 0.5.4-SNAPSHOT + + + + + org.opendaylight.controller + ietf-inet-types + 2010.09.24-SNAPSHOT + + - + + org.apache.felix maven-bundle-plugin diff --git a/pom.xml b/pom.xml index cb719990d6..8bd35b7aa9 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,7 @@ 1.0.7 2.3.7 2.5.1 + http://nexus.opendaylight.org/content 1.7.2 2.14.1 @@ -117,11 +118,25 @@ true - - org.codehaus.mojo - build-helper-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin 1.8 - + + + generate-sources + + add-source + + + + target/generated-sources/sal + + + + + @@ -138,9 +153,7 @@ pl.project13.maven git-commit-id-plugin - - [2.1.4,) - + [2.1.4,) revision @@ -149,6 +162,19 @@ + + + org.opendaylight.controller + yang-maven-plugin + [0.5,) + + generate-sources + + + + + + @@ -156,4 +182,20 @@ + + + + opendaylight-snapshot + opendaylight-snapshot + ${nexusproxy}/repositories/opendaylight.snapshot/ + + + + + + opendaylight-snapshot + opendaylight-snapshot + ${nexusproxy}/repositories/opendaylight.snapshot/ + + -- 2.36.6