From a6c6c598b40f002899f4070935febc9f1a4b4216 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20de=20Talhou=C3=ABt?= Date: Mon, 24 Oct 2016 19:48:05 -0400 Subject: [PATCH] Revert "Clean-up pom.xml layout" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since this got merged, I'm facing issue building the project correctly, it's failing in samples/toaster-it and runtime is broken because of mess-up classpath. If others are facing the same issue, this should be merged. I'll rework the overall patch later. This reverts commit 8a637013c102c11323230dae08fa4407863945d6. Change-Id: I61aae87439736d0163e6b4c49d8753052b28bac0 Signed-off-by: Alexis de Talhouët --- pom.xml | 99 +++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 71 insertions(+), 28 deletions(-) diff --git a/pom.xml b/pom.xml index 1780a9acbc..9278cd1247 100644 --- a/pom.xml +++ b/pom.xml @@ -3,15 +3,13 @@ 4.0.0 - org.opendaylight.controller - config-parent - 0.6.0-SNAPSHOT - ../../config/config-parent + commons.opendaylight + 1.8.0-SNAPSHOT + ../../commons/opendaylight - org.opendaylight.controller protocol-framework 0.9.0-SNAPSHOT bundle @@ -99,6 +97,16 @@ + + org.apache.felix + maven-bundle-plugin + true + + + ${project.groupId}.${project.artifactId} + + + org.apache.maven.plugins maven-jar-plugin @@ -111,31 +119,66 @@ - - - - - - - jdk8 - - [1.8,) - - - - - - org.apache.maven.plugins - maven-javadoc-plugin + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + + add-source + + generate-sources - -Xdoclint:none + + ${jmxGeneratorPath} + ${salGeneratorPath} + - - - - - - + + + + + org.opendaylight.yangtools + yang-maven-plugin + + + org.opendaylight.controller + yang-jmx-generator-plugin + ${config.version} + + + org.opendaylight.mdsal + maven-sal-api-gen-plugin + ${mdsal.model.version} + + + + + + generate-sources + + + + + org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator + ${jmxGeneratorPath} + + urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang + + + + org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl + ${salGeneratorPath} + + + true + + + + + + scm:git:http://git.opendaylight.org/gerrit/controller.git scm:git:ssh://git.opendaylight.org:29418/controller.git -- 2.36.6