From 31f619b9e733bd3c88d77af1c0fc38258b8623de Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Fri, 30 Jun 2017 12:05:16 +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: I44569b3bc8819a5facd7ba8424836f715012c04d Signed-off-by: Jan Srnicek --- common/minimal-distribution-parent/pom.xml | 32 ++++++++++++++---------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'common/minimal-distribution-parent/pom.xml') diff --git a/common/minimal-distribution-parent/pom.xml b/common/minimal-distribution-parent/pom.xml index 1f2a5add7..00aac6785 100644 --- a/common/minimal-distribution-parent/pom.xml +++ b/common/minimal-distribution-parent/pom.xml @@ -6,9 +6,9 @@ io.fd.hc2vpp.common - hc2vpp-parent + impl-parent 1.17.07-SNAPSHOT - ../hc2vpp-parent + ../impl-parent io.fd.hc2vpp.common @@ -55,31 +55,17 @@ true - config/ cert/ modules/ + config/ cert/ modules/ yang-mapping/ - org.apache.maven.plugins maven-dependency-plugin 2.10 - - copy-dependencies - package - - copy-dependencies - - - ${project.build.directory}/lib - true - true - yang-jmx-generator - - unpack-configuration prepare-package @@ -126,6 +112,18 @@ + + generate-module-to-yang-index + prepare-package + + execute + + + + io.fd.honeycomb.common.scripts.ModuleYangIndexGenerator.pairDistributionModulesWithYangModules(project, log) + + + -- cgit 1.2.3-korg