From b7ee6fe1f7f5e1569ed048edbf66c10f74acede2 Mon Sep 17 00:00:00 2001 From: xsir Date: Tue, 1 Dec 2015 17:24:10 +0800 Subject: [PATCH] Fix generator path inconsistent cause Eclipse build path missing problems Change-Id: I8aed23fd22355f006d571d60081cf42108dc68d1 Signed-off-by: xsir --- opendaylight/md-sal/messagebus-api/pom.xml | 23 ++----------------- .../samples/clustering-test-app/model/pom.xml | 2 +- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/opendaylight/md-sal/messagebus-api/pom.xml b/opendaylight/md-sal/messagebus-api/pom.xml index d367c5f9b8..3ecd29722e 100644 --- a/opendaylight/md-sal/messagebus-api/pom.xml +++ b/opendaylight/md-sal/messagebus-api/pom.xml @@ -51,11 +51,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl - ${project.build.directory}/generated-sources/sal + ${salGeneratorPath} org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator - ${project.build.directory}/generated-sources/config + ${jmxGeneratorPath} urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang @@ -70,25 +70,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html - - org.codehaus.mojo - build-helper-maven-plugin - 1.8 - - - add-source - generate-sources - - add-source - - - - ${project.build.directory}/generated-sources/config - - - - - org.apache.felix maven-bundle-plugin diff --git a/opendaylight/md-sal/samples/clustering-test-app/model/pom.xml b/opendaylight/md-sal/samples/clustering-test-app/model/pom.xml index f4271ab05e..b1ebc10a57 100644 --- a/opendaylight/md-sal/samples/clustering-test-app/model/pom.xml +++ b/opendaylight/md-sal/samples/clustering-test-app/model/pom.xml @@ -38,7 +38,7 @@ org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl - target/generated-sources/sal + ${salGeneratorPath} true -- 2.36.6