From: Robert Varga Date: Sat, 18 Apr 2020 20:47:32 +0000 (+0200) Subject: Centralize artifacts X-Git-Tag: v2.0.0~40 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=7027c7181a90ce183894c3cd17cd84a0bf4517b5 Centralize artifacts Rather than having three different sets of artifacts: - mdsal-artifacts - config-artifacts - benchmark-artifacts Create a project-wide controller-artifacts, just as the guidelines tell us to. This has the benefit for downstreams, as they do not need to track multiple versions. It also benefits us, as we have a single place for tracking what we produce. Change-Id: I73cc02c6f1df6c4d705ef83dfc57e6aad17c6287 Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/mdsal-artifacts/pom.xml b/artifacts/pom.xml similarity index 84% rename from opendaylight/md-sal/mdsal-artifacts/pom.xml rename to artifacts/pom.xml index 6361ef7434..e8b2c0f098 100644 --- a/opendaylight/md-sal/mdsal-artifacts/pom.xml +++ b/artifacts/pom.xml @@ -19,7 +19,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom @@ -45,6 +45,12 @@ ${project.version} test + + ${project.groupId} + mdsal-it-base + ${project.version} + test + @@ -55,14 +61,6 @@ xml runtime - - ${project.groupId} - features-restconf - ${project.version} - features - xml - runtime - @@ -319,6 +317,56 @@ features + + + ${project.groupId} + benchmark-api + 1.10.0-SNAPSHOT + + + ${project.groupId} + dsbenchmark + 1.10.0-SNAPSHOT + + + ${project.groupId} + benchmark-features + 1.10.0-SNAPSHOT + features + xml + + + + + ${project.groupId} + netty-config-api + 0.13.0-SNAPSHOT + + + ${project.groupId} + netty-event-executor-config + 0.13.0-SNAPSHOT + + + ${project.groupId} + netty-threadgroup-config + 0.13.0-SNAPSHOT + + + ${project.groupId} + netty-timer-config + 0.13.0-SNAPSHOT + + + ${project.groupId} + threadpool-config-api + 0.13.0-SNAPSHOT + + + ${project.groupId} + threadpool-config-impl + 0.13.0-SNAPSHOT + diff --git a/benchmark/artifacts/pom.xml b/benchmark/artifacts/pom.xml deleted file mode 100644 index d6ad5854b4..0000000000 --- a/benchmark/artifacts/pom.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - 4.0.0 - - - org.opendaylight.odlparent - odlparent-lite - 7.0.1 - - - - org.opendaylight.controller - benchmark-artifacts - 1.10.0-SNAPSHOT - pom - - - - - ${project.groupId} - benchmark-api - ${project.version} - - - ${project.groupId} - dsbenchmark - ${project.version} - - - ${project.groupId} - benchmark-features - ${project.version} - features - xml - - - - diff --git a/benchmark/dsbenchmark/pom.xml b/benchmark/dsbenchmark/pom.xml index 1dae6f65e6..b04da8ea94 100644 --- a/benchmark/dsbenchmark/pom.xml +++ b/benchmark/dsbenchmark/pom.xml @@ -26,7 +26,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import @@ -38,7 +38,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller benchmark-api - ${project.version} org.opendaylight.mdsal diff --git a/benchmark/ntfbenchmark/pom.xml b/benchmark/ntfbenchmark/pom.xml index c88d68752b..f992bbe41d 100644 --- a/benchmark/ntfbenchmark/pom.xml +++ b/benchmark/ntfbenchmark/pom.xml @@ -26,7 +26,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import @@ -38,7 +38,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller benchmark-api - ${project.version} org.opendaylight.mdsal diff --git a/benchmark/pom.xml b/benchmark/pom.xml index f9ec2fd058..7b92fd4c3d 100644 --- a/benchmark/pom.xml +++ b/benchmark/pom.xml @@ -23,6 +23,5 @@ and is available at http://www.eclipse.org/legal/epl-v10.html dsbenchmark ntfbenchmark rpcbenchmark - artifacts diff --git a/benchmark/rpcbenchmark/pom.xml b/benchmark/rpcbenchmark/pom.xml index d85422f521..a62d98d39c 100644 --- a/benchmark/rpcbenchmark/pom.xml +++ b/benchmark/rpcbenchmark/pom.xml @@ -26,7 +26,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import @@ -38,7 +38,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller benchmark-api - ${project.version} org.opendaylight.yangtools diff --git a/docs/pom.xml b/docs/pom.xml index 91ce0e12ea..fbc24a7b89 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -27,14 +27,7 @@ org.opendaylight.controller - config-artifacts - 0.13.0-SNAPSHOT - pom - import - - - org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/features/config-netty/odl-config-netty/pom.xml b/features/config-netty/odl-config-netty/pom.xml index 11eaf17ee5..7419a06671 100644 --- a/features/config-netty/odl-config-netty/pom.xml +++ b/features/config-netty/odl-config-netty/pom.xml @@ -27,14 +27,7 @@ ${project.groupId} - config-artifacts - ${project.version} - pom - import - - - ${project.groupId} - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-controller-mdsal-common/pom.xml b/features/mdsal/odl-controller-mdsal-common/pom.xml index e5a3241f1c..db96d7847d 100644 --- a/features/mdsal/odl-controller-mdsal-common/pom.xml +++ b/features/mdsal/odl-controller-mdsal-common/pom.xml @@ -32,6 +32,13 @@ pom import + + org.opendaylight.controller + controller-artifacts + 1.12.0-SNAPSHOT + pom + import + @@ -51,7 +58,6 @@ ${project.groupId} sal-common-util - ${project.version} diff --git a/features/mdsal/odl-controller-model-topology/pom.xml b/features/mdsal/odl-controller-model-topology/pom.xml index 986b0b7198..24a949e914 100644 --- a/features/mdsal/odl-controller-model-topology/pom.xml +++ b/features/mdsal/odl-controller-model-topology/pom.xml @@ -33,8 +33,8 @@ org.opendaylight.controller - mdsal-artifacts - ${project.version} + controller-artifacts + 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-mdsal-broker-local/pom.xml b/features/mdsal/odl-mdsal-broker-local/pom.xml index 3bcc08bc9c..70be4d908a 100644 --- a/features/mdsal/odl-mdsal-broker-local/pom.xml +++ b/features/mdsal/odl-mdsal-broker-local/pom.xml @@ -50,7 +50,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-mdsal-broker/pom.xml b/features/mdsal/odl-mdsal-broker/pom.xml index 7fd0568332..a2a8b945a9 100644 --- a/features/mdsal/odl-mdsal-broker/pom.xml +++ b/features/mdsal/odl-mdsal-broker/pom.xml @@ -35,7 +35,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-mdsal-distributed-datastore/pom.xml b/features/mdsal/odl-mdsal-distributed-datastore/pom.xml index 97e1ed9525..e047b953d1 100644 --- a/features/mdsal/odl-mdsal-distributed-datastore/pom.xml +++ b/features/mdsal/odl-mdsal-distributed-datastore/pom.xml @@ -42,7 +42,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-mdsal-model-inventory/pom.xml b/features/mdsal/odl-mdsal-model-inventory/pom.xml index 9c618e2b20..37b7cc81f2 100644 --- a/features/mdsal/odl-mdsal-model-inventory/pom.xml +++ b/features/mdsal/odl-mdsal-model-inventory/pom.xml @@ -34,8 +34,8 @@ org.opendaylight.controller - mdsal-artifacts - ${project.version} + controller-artifacts + 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-mdsal-remoterpc-connector/pom.xml b/features/mdsal/odl-mdsal-remoterpc-connector/pom.xml index 95540f6654..a2d1743e58 100644 --- a/features/mdsal/odl-mdsal-remoterpc-connector/pom.xml +++ b/features/mdsal/odl-mdsal-remoterpc-connector/pom.xml @@ -28,8 +28,8 @@ ${project.groupId} - mdsal-artifacts - ${project.version} + controller-artifacts + 1.12.0-SNAPSHOT pom import diff --git a/features/mdsal/odl-message-bus-collector/pom.xml b/features/mdsal/odl-message-bus-collector/pom.xml index 6e5bd4e11e..0d12710477 100644 --- a/features/mdsal/odl-message-bus-collector/pom.xml +++ b/features/mdsal/odl-message-bus-collector/pom.xml @@ -29,7 +29,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts ${project.version} pom import diff --git a/opendaylight/blueprint/pom.xml b/opendaylight/blueprint/pom.xml index 98cb037766..8a2cf1fb2b 100644 --- a/opendaylight/blueprint/pom.xml +++ b/opendaylight/blueprint/pom.xml @@ -33,7 +33,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/opendaylight/config/config-artifacts/pom.xml b/opendaylight/config/config-artifacts/pom.xml deleted file mode 100644 index d48906b495..0000000000 --- a/opendaylight/config/config-artifacts/pom.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - 4.0.0 - - - org.opendaylight.odlparent - odlparent-lite - 7.0.1 - - - - org.opendaylight.controller - config-artifacts - 0.13.0-SNAPSHOT - pom - - - - - ${project.groupId} - netty-config-api - ${project.version} - - - ${project.groupId} - netty-event-executor-config - ${project.version} - - - ${project.groupId} - netty-threadgroup-config - ${project.version} - - - ${project.groupId} - netty-timer-config - ${project.version} - - - ${project.groupId} - threadpool-config-api - ${project.version} - - - ${project.groupId} - threadpool-config-impl - ${project.version} - - - - - diff --git a/opendaylight/config/pom.xml b/opendaylight/config/pom.xml index 3cac66fb35..ec7e8c58ee 100644 --- a/opendaylight/config/pom.xml +++ b/opendaylight/config/pom.xml @@ -22,15 +22,14 @@ netty-threadgroup-config netty-event-executor-config netty-timer-config - config-artifacts org.opendaylight.controller - config-artifacts - 0.13.0-SNAPSHOT + controller-artifacts + 1.12.0-SNAPSHOT pom import diff --git a/opendaylight/md-sal/mdsal-it-base/pom.xml b/opendaylight/md-sal/mdsal-it-base/pom.xml index 946065ce08..be18eff832 100644 --- a/opendaylight/md-sal/mdsal-it-base/pom.xml +++ b/opendaylight/md-sal/mdsal-it-base/pom.xml @@ -32,8 +32,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller - mdsal-artifacts - ${project.version} + controller-artifacts + 1.12.0-SNAPSHOT pom import diff --git a/opendaylight/md-sal/mdsal-it-parent/pom.xml b/opendaylight/md-sal/mdsal-it-parent/pom.xml index 72eb79c886..74bf6c9e0e 100644 --- a/opendaylight/md-sal/mdsal-it-parent/pom.xml +++ b/opendaylight/md-sal/mdsal-it-parent/pom.xml @@ -23,7 +23,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html pom - 1.12.0-SNAPSHOT org.opendaylight.odlparent opendaylight-karaf-empty zip @@ -34,8 +33,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller - mdsal-artifacts - ${mdsal.version} + controller-artifacts + 1.12.0-SNAPSHOT pom import @@ -46,7 +45,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.controller mdsal-it-base - ${mdsal.version} diff --git a/opendaylight/md-sal/parent/pom.xml b/opendaylight/md-sal/parent/pom.xml index 6ff0f54b9d..8a34fcb05f 100644 --- a/opendaylight/md-sal/parent/pom.xml +++ b/opendaylight/md-sal/parent/pom.xml @@ -24,7 +24,7 @@ org.opendaylight.controller - mdsal-artifacts + controller-artifacts 1.12.0-SNAPSHOT pom import diff --git a/opendaylight/md-sal/pom.xml b/opendaylight/md-sal/pom.xml index 9811212658..fedde47ff3 100644 --- a/opendaylight/md-sal/pom.xml +++ b/opendaylight/md-sal/pom.xml @@ -15,7 +15,6 @@ pom - mdsal-artifacts parent diff --git a/pom.xml b/pom.xml index d037ca1b06..fb860984f5 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,7 @@ + artifacts opendaylight/md-sal