From 62dd4d32fd270d3a6b7bb47c972bbcd5dc7b9f43 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Fri, 30 Jun 2017 10:08:14 +0200 Subject: HONEYCOMB-358 - Generate guice to yang modules index Generates two descriptor files yang-modules-binding/yang-modules - List of Yang modules by project(classpath + deps) yang-mapping/FULL_PROJECT_NAME-yang-modules-index - Index from Guice modules to Yang modules that are used by respective Guice module These files are included in jar files and distribution resources Change-Id: Iafc178219245df9129fb426a5876215c6fd1837e Signed-off-by: Jan Srnicek --- common/impl-parent/pom.xml | 78 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) (limited to 'common/impl-parent') diff --git a/common/impl-parent/pom.xml b/common/impl-parent/pom.xml index 7d35518d7..65fb573c3 100644 --- a/common/impl-parent/pom.xml +++ b/common/impl-parent/pom.xml @@ -33,6 +33,7 @@ 4.1.0 1.2.0 1.0.8 + 3.0.2 @@ -68,4 +69,81 @@ + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + copy-dependencies + + process-sources + + copy-dependencies + + + ${project.build.directory}/lib + true + true + yang-jmx-generator,test-api + + + + + + + org.codehaus.gmaven + groovy-maven-plugin + + + generate-yang-index + generate-resources + + execute + + + + io.fd.honeycomb.common.scripts.ModuleYangIndexGenerator.generateIndexForPresentModules(project, log) + + + + + + + io.fd.honeycomb.common + common-scripts + ${project.version} + + + + + + + + + org.codehaus.gmaven + groovy-maven-plugin + + + + + + src/main/resources + + **/* + + + + ${project.build.outputDirectory} + + **/yang-modules-binding/yang-modules + + + + -- cgit 1.2.3-korg