From: Robert Varga Date: Mon, 9 Oct 2017 12:31:14 +0000 (+0200) Subject: BUG-9218: eliminate duplicate bundles X-Git-Tag: release/oxygen~159 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=c0fcacdeb1a8049dd9493d64fb3d52bd39594b74;p=bgpcep.git BUG-9218: eliminate duplicate bundles Packaging api bundles in multiple features causes inefficiency in Karaf4. Introduce org-bgpcep-{bmp,rsvp,bgp-parser}-api features to hold them. Change-Id: I6351c945bbf3e272187dcd875854bff40c9b4f11 Signed-off-by: Robert Varga --- diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 853903b971..8873f944f8 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -540,6 +540,13 @@ xml ${project.version} + + org.opendaylight.bgpcep + odl-bgpcep-bgp-parser-api + features + xml + ${project.version} + org.opendaylight.bgpcep odl-bgpcep-bgp-rib-api @@ -631,6 +638,7 @@ xml ${project.version} + org.opendaylight.bgpcep @@ -646,6 +654,14 @@ xml ${project.version} + + org.opendaylight.bgpcep + odl-bgpcep-bmp-api + features + xml + ${project.version} + + org.opendaylight.bgpcep @@ -777,7 +793,7 @@ org.opendaylight.bgpcep - odl-bgpcep-rsvp-dependencies + odl-bgpcep-rsvp-api features xml ${project.version} @@ -789,6 +805,13 @@ xml ${project.version} + + org.opendaylight.bgpcep + odl-bgpcep-rsvp-dependencies + features + xml + ${project.version} + diff --git a/features/bgp/features-bgp/pom.xml b/features/bgp/features-bgp/pom.xml index bf8788122c..08e3bf773c 100644 --- a/features/bgp/features-bgp/pom.xml +++ b/features/bgp/features-bgp/pom.xml @@ -65,6 +65,12 @@ xml features + + ${project.groupId} + odl-bgpcep-bgp-parser-api + xml + features + ${project.groupId} odl-bgpcep-bgp-rib-api diff --git a/features/bgp/odl-bgpcep-bgp-evpn/pom.xml b/features/bgp/odl-bgpcep-bgp-evpn/pom.xml index 0e9e6572e0..4ae15c2691 100644 --- a/features/bgp/odl-bgpcep-bgp-evpn/pom.xml +++ b/features/bgp/odl-bgpcep-bgp-evpn/pom.xml @@ -31,10 +31,6 @@ - - ${project.groupId} - bgp-bmp-api - ${project.groupId} bgp-evpn @@ -47,13 +43,13 @@ ${project.groupId} - odl-bgpcep-bgp-rib-api + odl-bgpcep-bgp-openconfig xml features ${project.groupId} - odl-bgpcep-bgp-openconfig + odl-bgpcep-bmp-api xml features diff --git a/features/bgp/odl-bgpcep-bgp-inet/pom.xml b/features/bgp/odl-bgpcep-bgp-inet/pom.xml index 8c8cf169cc..fad38b6296 100644 --- a/features/bgp/odl-bgpcep-bgp-inet/pom.xml +++ b/features/bgp/odl-bgpcep-bgp-inet/pom.xml @@ -35,10 +35,6 @@ ${project.groupId} bgp-inet - - ${project.groupId} - bgp-bmp-api - ${project.groupId} odl-bgpcep-bgp-parser @@ -47,13 +43,13 @@ ${project.groupId} - odl-bgpcep-bgp-rib-api + odl-bgpcep-bgp-openconfig xml features ${project.groupId} - odl-bgpcep-bgp-openconfig + odl-bgpcep-bmp-api xml features diff --git a/features/bgp/odl-bgpcep-bgp-linkstate/pom.xml b/features/bgp/odl-bgpcep-bgp-linkstate/pom.xml index 0931676abd..833c3f2613 100644 --- a/features/bgp/odl-bgpcep-bgp-linkstate/pom.xml +++ b/features/bgp/odl-bgpcep-bgp-linkstate/pom.xml @@ -47,19 +47,19 @@ ${project.groupId} - odl-bgpcep-bgp-rib-api + odl-bgpcep-bgp-openconfig xml features ${project.groupId} - odl-bgpcep-rsvp + odl-bgpcep-bmp-api xml features ${project.groupId} - odl-bgpcep-bgp-openconfig + odl-bgpcep-rsvp xml features diff --git a/features/bgp/odl-bgpcep-bgp-parser-api/pom.xml b/features/bgp/odl-bgpcep-bgp-parser-api/pom.xml new file mode 100644 index 0000000000..145876cb0e --- /dev/null +++ b/features/bgp/odl-bgpcep-bgp-parser-api/pom.xml @@ -0,0 +1,78 @@ + + + 4.0.0 + + org.opendaylight.odlparent + single-feature-parent + 2.0.5 + + + + org.opendaylight.bgpcep + odl-bgpcep-bgp-parser-api + 0.9.0-SNAPSHOT + feature + + OpenDaylight :: BGP :: Parser :: API + + + + + + org.opendaylight.bgpcep + bgpcep-artifacts + ${project.version} + pom + import + + + org.opendaylight.bgpcep + dependency-version-management + ${project.version} + pom + import + + + + + + + ${project.groupId} + bgp-parser-api + + + ${project.groupId} + bgp-parser-spi + + + ${project.groupId} + odl-bgpcep-bgp-dependencies + xml + features + + + org.opendaylight.controller + odl-config-core + xml + features + + + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + + diff --git a/features/bgp/odl-bgpcep-bgp-parser/pom.xml b/features/bgp/odl-bgpcep-bgp-parser/pom.xml index 91908f7de5..bf8389e7c9 100644 --- a/features/bgp/odl-bgpcep-bgp-parser/pom.xml +++ b/features/bgp/odl-bgpcep-bgp-parser/pom.xml @@ -40,25 +40,7 @@ ${project.groupId} - bgp-parser-api - - - ${project.groupId} - bgp-parser-spi - - - ${project.groupId} - bgp-parser-impl - - - ${project.groupId} - odl-bgpcep-bgp-dependencies - xml - features - - - org.opendaylight.controller - odl-config-core + odl-bgpcep-bgp-parser-api xml features @@ -68,6 +50,11 @@ xml features + + + ${project.groupId} + bgp-parser-impl + + + org.opendaylight.bgpcep + bgpcep-artifacts + ${project.version} + pom + import + + + org.opendaylight.bgpcep + dependency-version-management + ${project.version} + pom + import + + + + + + + ${project.groupId} + odl-bgpcep-bgp-rib-api + xml + features + + + + ${project.groupId} + bgp-bmp-api + + + ${project.groupId} + bgp-bmp-spi + + + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + + diff --git a/features/bmp/odl-bgpcep-bmp/pom.xml b/features/bmp/odl-bgpcep-bmp/pom.xml index 44d1e457e4..45772271ab 100644 --- a/features/bmp/odl-bgpcep-bmp/pom.xml +++ b/features/bmp/odl-bgpcep-bmp/pom.xml @@ -38,22 +38,6 @@ - - ${project.groupId} - bgp-bmp-api - - - ${project.groupId} - bgp-bmp-spi - - - ${project.groupId} - bgp-bmp-parser-impl - - - ${project.groupId} - bgp-bmp-impl - ${project.groupId} odl-bgpcep-bgp-dependencies @@ -68,7 +52,7 @@ ${project.groupId} - odl-bgpcep-bgp-rib-api + odl-bgpcep-bmp-api xml features @@ -150,6 +134,15 @@ xml bmp-config-example + + + ${project.groupId} + bgp-bmp-parser-impl + + + ${project.groupId} + bgp-bmp-impl + + + + org.opendaylight.bgpcep + bgpcep-artifacts + ${project.version} + pom + import + + + + + + + ${project.groupId} + rsvp-api + + + ${project.groupId} + rsvp-spi + + + ${project.groupId} + odl-bgpcep-rsvp-dependencies + features + xml + + + + + ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ + + + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + + + diff --git a/features/rsvp/odl-bgpcep-rsvp/pom.xml b/features/rsvp/odl-bgpcep-rsvp/pom.xml index 13460fdbf4..ee0a450a69 100644 --- a/features/rsvp/odl-bgpcep-rsvp/pom.xml +++ b/features/rsvp/odl-bgpcep-rsvp/pom.xml @@ -33,22 +33,21 @@ ${project.groupId} - rsvp-api + odl-bgpcep-rsvp-api + features + xml ${project.groupId} - rsvp-spi + odl-bgpcep-rsvp-dependencies + features + xml + ${project.groupId} rsvp-impl - - ${project.groupId} - odl-bgpcep-rsvp-dependencies - features - xml -