From c7299c6ea39c1888a3497a889ee9b55c44b54dac Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 17 Mar 2017 14:42:56 +0100 Subject: Add hc2vpp common parents - provides single root (hc2vpp-parent) for all projects to make site plugin work - fixes relative links in child poms - adds missing project names Partially based on https://gerrit.fd.io/r/#/c/4720 To test: - mvn clean install && mvn site site:stage - open hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d Signed-off-by: Marek Gradzki --- common/api-parent/asciidoc/Readme.adoc | 3 + common/api-parent/pom.xml | 110 +++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 common/api-parent/asciidoc/Readme.adoc create mode 100644 common/api-parent/pom.xml (limited to 'common/api-parent') diff --git a/common/api-parent/asciidoc/Readme.adoc b/common/api-parent/asciidoc/Readme.adoc new file mode 100644 index 000000000..73d562439 --- /dev/null +++ b/common/api-parent/asciidoc/Readme.adoc @@ -0,0 +1,3 @@ += api-parent + +Maven parent for api projects. Provides common yangtools plugin configuration. \ No newline at end of file diff --git a/common/api-parent/pom.xml b/common/api-parent/pom.xml new file mode 100644 index 000000000..f1c899b8c --- /dev/null +++ b/common/api-parent/pom.xml @@ -0,0 +1,110 @@ + + + 4.0.0 + + + io.fd.hc2vpp.common + hc2vpp-parent + 1.17.04-SNAPSHOT + ../hc2vpp-parent + + + io.fd.hc2vpp.common + api-parent + ${project.artifactId} + 1.17.04-SNAPSHOT + pom + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + ${yangtools.version} + + + org.opendaylight.mdsal + maven-sal-api-gen-plugin + 0.8.4-Beryllium-SR4 + jar + + + + + binding + + generate-sources + + + + + org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl + ${salGeneratorPath} + + + true + + + + + + maven-clean-plugin + + + + ${salGeneratorPath} + + ** + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-yang-sources + generate-sources + + add-source + + + + ${salGeneratorPath} + + + + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + + + + + org.opendaylight.mdsal + yang-binding + + + org.opendaylight.yangtools + yang-common + + + -- cgit 1.2.3-korg