From 4f0599ffebbdaa5da730fbdfbe8081ca904743d8 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Sun, 21 Dec 2014 11:07:33 -0600 Subject: [PATCH] Introducing config-parent config-parent is a parent pom designed to do all of the work for a downstream consumer who is building a config subsystem project. Change-Id: Ibe086148eae5bc7d84dd96f170ec64f033fbd81a Signed-off-by: Ed Warnicke --- opendaylight/config/config-parent/pom.xml | 154 ++++++++++++++++++++++ opendaylight/config/pom.xml | 1 + 2 files changed, 155 insertions(+) create mode 100644 opendaylight/config/config-parent/pom.xml diff --git a/opendaylight/config/config-parent/pom.xml b/opendaylight/config/config-parent/pom.xml new file mode 100644 index 0000000000..0b2b634170 --- /dev/null +++ b/opendaylight/config/config-parent/pom.xml @@ -0,0 +1,154 @@ + + + + + org.opendaylight.yangtools + binding-parent + 0.7.0-SNAPSHOT + + + + 4.0.0 + org.opendaylight.controller + config-parent + 0.3.0-SNAPSHOT + pom + + + 0.3.0-SNAPSHOT + 1.2.0-SNAPSHOT + src/main/yang-gen-config + src/main/config/default-config.xml + + + + + + + org.opendaylight.controller + config-artifacts + ${config.version} + pom + import + + + org.opendaylight.controller + mdsal-artifacts + ${mdsal.version} + pom + import + + + + + + + org.opendaylight.controller + config-api + + + org.opendaylight.controller + sal-binding-config + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + + + org.opendaylight.controller + yang-jmx-generator-plugin + ${config.version} + + + + + config + + generate-sources + + + + + org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator + ${jmxGeneratorPath} + + urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang + + + + true + + + + + + maven-clean-plugin + + + + ${jmxGeneratorPath} + + ** + + + + + + + + + + + + + ${config.file} + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + + attach-artifact + + package + + + + ${config.file} + xml + config + + + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + + diff --git a/opendaylight/config/pom.xml b/opendaylight/config/pom.xml index fc447aa7f9..dc13989ab1 100644 --- a/opendaylight/config/pom.xml +++ b/opendaylight/config/pom.xml @@ -43,6 +43,7 @@ config-netty-config config-artifacts + config-parent -- 2.36.6