From e8ca5b16aa0fa8055be3c766ddd4c51fe27790a5 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 25 Oct 2019 14:18:29 +0200 Subject: [PATCH] Make applications/pom.xml an aggregator This really is just an aggregator, make sure it inherits from odlparent-lite and adjust its users to inherit from ofp-parent. Shaves ~29 seconds from build time. Change-Id: Id2cd32ed36a1bf40ff279cef1d9efced1649047b Signed-off-by: Robert Varga --- .../arbitratorreconciliation/api/pom.xml | 6 +-- .../arbitratorreconciliation/impl/pom.xml | 6 +-- applications/arbitratorreconciliation/pom.xml | 39 +++++++------------ applications/bulk-o-matic/pom.xml | 17 ++------ applications/device-ownership-service/pom.xml | 5 ++- applications/forwardingrules-manager/pom.xml | 4 +- applications/forwardingrules-sync/pom.xml | 15 ++----- applications/lldp-speaker/pom.xml | 5 ++- applications/notification-supplier/pom.xml | 17 ++------ applications/of-switch-config-pusher/pom.xml | 21 ++++------ applications/pom.xml | 33 ++++++---------- applications/reconciliation-framework/pom.xml | 4 +- applications/southbound-cli/pom.xml | 4 +- applications/table-miss-enforcer/pom.xml | 15 ++----- 14 files changed, 68 insertions(+), 123 deletions(-) diff --git a/applications/arbitratorreconciliation/api/pom.xml b/applications/arbitratorreconciliation/api/pom.xml index f9b6760533..226e25972e 100644 --- a/applications/arbitratorreconciliation/api/pom.xml +++ b/applications/arbitratorreconciliation/api/pom.xml @@ -1,12 +1,12 @@ + 4.0.0 - applications org.opendaylight.openflowplugin + openflowplugin-parent 0.10.0-SNAPSHOT - ../.. + ../../../parent - 4.0.0 org.opendaylight.openflowplugin.applications arbitratorreconciliation-api diff --git a/applications/arbitratorreconciliation/impl/pom.xml b/applications/arbitratorreconciliation/impl/pom.xml index 536dc8b321..bd96f27934 100644 --- a/applications/arbitratorreconciliation/impl/pom.xml +++ b/applications/arbitratorreconciliation/impl/pom.xml @@ -1,12 +1,12 @@ + 4.0.0 - applications org.opendaylight.openflowplugin + openflowplugin-parent 0.10.0-SNAPSHOT - ../.. + ../../../parent - 4.0.0 org.opendaylight.openflowplugin.applications arbitratorreconciliation-impl diff --git a/applications/arbitratorreconciliation/pom.xml b/applications/arbitratorreconciliation/pom.xml index 45904c5f6f..178f6c9bbc 100644 --- a/applications/arbitratorreconciliation/pom.xml +++ b/applications/arbitratorreconciliation/pom.xml @@ -1,40 +1,27 @@ + 4.0.0 + - applications - org.opendaylight.openflowplugin - 0.10.0-SNAPSHOT + org.opendaylight.odlparent + odlparent-lite + 6.0.0 + - 4.0.0 - arbitratorreconciliation-aggregator org.opendaylight.openflowplugin.applications + arbitratorreconciliation-aggregator + 0.10.0-SNAPSHOT pom ODL :: openflowplugin :: ${project.artifactId} + + true + true + + api impl - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-install-plugin - - true - - - - - diff --git a/applications/bulk-o-matic/pom.xml b/applications/bulk-o-matic/pom.xml index f3ed66e794..6a8db74429 100644 --- a/applications/bulk-o-matic/pom.xml +++ b/applications/bulk-o-matic/pom.xml @@ -3,12 +3,15 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications bulk-o-matic bundle + org.opendaylight.openflowplugin @@ -30,18 +33,6 @@ org.opendaylight.infrautils infrautils-util ${infrautils.version} - - - - - org.mockito - mockito-core - test - - - junit - junit - test diff --git a/applications/device-ownership-service/pom.xml b/applications/device-ownership-service/pom.xml index 6b699e1ec4..21a8f81210 100644 --- a/applications/device-ownership-service/pom.xml +++ b/applications/device-ownership-service/pom.xml @@ -1,11 +1,12 @@ + 4.0.0 - applications org.opendaylight.openflowplugin + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent - 4.0.0 org.opendaylight.openflowplugin.applications device-ownership-service diff --git a/applications/forwardingrules-manager/pom.xml b/applications/forwardingrules-manager/pom.xml index 7dec34b697..c3f933127f 100644 --- a/applications/forwardingrules-manager/pom.xml +++ b/applications/forwardingrules-manager/pom.xml @@ -3,9 +3,11 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications forwardingrules-manager bundle diff --git a/applications/forwardingrules-sync/pom.xml b/applications/forwardingrules-sync/pom.xml index cb768d82f3..832c429278 100644 --- a/applications/forwardingrules-sync/pom.xml +++ b/applications/forwardingrules-sync/pom.xml @@ -3,9 +3,11 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications forwardingrules-sync bundle @@ -76,17 +78,6 @@ test-jar - - junit - junit - - - - org.mockito - mockito-core - test - - org.slf4j slf4j-log4j12 diff --git a/applications/lldp-speaker/pom.xml b/applications/lldp-speaker/pom.xml index 972e3428dd..24aa3015b4 100644 --- a/applications/lldp-speaker/pom.xml +++ b/applications/lldp-speaker/pom.xml @@ -3,12 +3,15 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications lldp-speaker bundle + javax.annotation diff --git a/applications/notification-supplier/pom.xml b/applications/notification-supplier/pom.xml index 45f41932df..5efc8fbcf3 100644 --- a/applications/notification-supplier/pom.xml +++ b/applications/notification-supplier/pom.xml @@ -3,12 +3,15 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications notification-supplier bundle + org.opendaylight.openflowplugin @@ -30,17 +33,5 @@ org.opendaylight.openflowplugin openflowplugin-common - - - - org.mockito - mockito-core - test - - - junit - junit - test - diff --git a/applications/of-switch-config-pusher/pom.xml b/applications/of-switch-config-pusher/pom.xml index e5dde522b4..c62925ffff 100644 --- a/applications/of-switch-config-pusher/pom.xml +++ b/applications/of-switch-config-pusher/pom.xml @@ -3,12 +3,15 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications of-switch-config-pusher bundle + org.opendaylight.openflowplugin @@ -36,19 +39,9 @@ ${project.version} - org.opendaylight.infrautils - infrautils-util - ${infrautils.version} - - - org.mockito - mockito-core - test - - - junit - junit - test + org.opendaylight.infrautils + infrautils-util + ${infrautils.version} javax.inject diff --git a/applications/pom.xml b/applications/pom.xml index aa06a0bd10..55a67da9d3 100644 --- a/applications/pom.xml +++ b/applications/pom.xml @@ -3,32 +3,21 @@ 4.0.0 - org.opendaylight.openflowplugin - openflowplugin-parent - 0.10.0-SNAPSHOT - ../parent + org.opendaylight.odlparent + odlparent-lite + 6.0.0 + - applications - applications - http://maven.apache.org + org.opendaylight.openflowplugin + applications-aggregator + 0.10.0-SNAPSHOT pom - - - - org.apache.felix - maven-bundle-plugin - - - - - - scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git - scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git - https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main - HEAD - + + true + true + table-miss-enforcer diff --git a/applications/reconciliation-framework/pom.xml b/applications/reconciliation-framework/pom.xml index 497405fe43..941ff4a1cd 100644 --- a/applications/reconciliation-framework/pom.xml +++ b/applications/reconciliation-framework/pom.xml @@ -3,9 +3,11 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications reconciliation-framework bundle diff --git a/applications/southbound-cli/pom.xml b/applications/southbound-cli/pom.xml index 9b94f7d914..94cc92229b 100644 --- a/applications/southbound-cli/pom.xml +++ b/applications/southbound-cli/pom.xml @@ -3,9 +3,11 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications southbound-cli bundle diff --git a/applications/table-miss-enforcer/pom.xml b/applications/table-miss-enforcer/pom.xml index c7d339c9b1..fc4af23d46 100644 --- a/applications/table-miss-enforcer/pom.xml +++ b/applications/table-miss-enforcer/pom.xml @@ -3,12 +3,15 @@ 4.0.0 org.opendaylight.openflowplugin - applications + openflowplugin-parent 0.10.0-SNAPSHOT + ../../parent + org.opendaylight.openflowplugin.applications table-miss-enforcer bundle + javax.annotation @@ -46,16 +49,6 @@ device-ownership-service ${project.version} - - org.mockito - mockito-core - test - - - junit - junit - test - -- 2.36.6