From: Robert Varga Date: Mon, 18 Apr 2022 17:48:21 +0000 (+0200) Subject: Add odl-mdsal-bytebuddy X-Git-Tag: v10.0.0~108 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=commitdiff_plain;h=7fd01409f697a9e01fc6594f540b686a6bc17e3a Add odl-mdsal-bytebuddy Rather than shading byte-buddy, provide it in a separate feature. This will allow packagers better control of the runtime we link to and allow it to be reused. JIRA: MDSAL-747 Change-Id: Id25acfdb24cce9ce2529b0ac8706b8f00671ed7b Signed-off-by: Robert Varga --- diff --git a/artifacts/pom.xml b/artifacts/pom.xml index f9a5323bcc..3e993dbeb0 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -328,6 +328,15 @@ xml + + + ${project.groupId} + odl-mdsal-bytebuddy + 10.0.0-SNAPSHOT + features + xml + + ${project.groupId} diff --git a/binding/mdsal-binding-dom-codec/pom.xml b/binding/mdsal-binding-dom-codec/pom.xml index 3147e0c7f5..878c139532 100644 --- a/binding/mdsal-binding-dom-codec/pom.xml +++ b/binding/mdsal-binding-dom-codec/pom.xml @@ -26,10 +26,8 @@ - net.bytebuddy byte-buddy - 1.12.8 org.opendaylight.yangtools @@ -90,53 +88,9 @@ org.opendaylight.mdsal.binding.dom.codec.impl, org.opendaylight.mdsal.binding.dom.codec.loader, - - !net.bytebuddy.*, - * - - - - - org.apache.maven.plugins - maven-shade-plugin - - - package - - shade - - - false - true - true - true - true - - - ${shade.source} - ${shade.target} - - - - - net.bytebuddy:byte-buddy - - - - - net.bytebuddy:byte-buddy - - META-INF/** - - - - - - - diff --git a/dom/dom-parent/pom.xml b/dom/dom-parent/pom.xml index 651dfbd57f..8d0685a46a 100644 --- a/dom/dom-parent/pom.xml +++ b/dom/dom-parent/pom.xml @@ -40,6 +40,11 @@ pom import + + net.bytebuddy + byte-buddy + 1.12.8 + diff --git a/features/feature-parent/pom.xml b/features/feature-parent/pom.xml index 4ab8a2b3f5..4ac7e90bd1 100644 --- a/features/feature-parent/pom.xml +++ b/features/feature-parent/pom.xml @@ -33,7 +33,7 @@ org.opendaylight.mdsal - mdsal-artifacts + dom-parent 10.0.0-SNAPSHOT pom import diff --git a/features/features-mdsal/pom.xml b/features/features-mdsal/pom.xml index f4458b9acf..9c72a664f6 100644 --- a/features/features-mdsal/pom.xml +++ b/features/features-mdsal/pom.xml @@ -68,6 +68,14 @@ xml + + + org.opendaylight.mdsal + odl-mdsal-bytebuddy + features + xml + + org.opendaylight.mdsal diff --git a/features/odl-mdsal-binding-runtime/pom.xml b/features/odl-mdsal-binding-runtime/pom.xml index 75fcc3a146..6b807d774a 100644 --- a/features/odl-mdsal-binding-runtime/pom.xml +++ b/features/odl-mdsal-binding-runtime/pom.xml @@ -21,6 +21,12 @@ MD-SAL Java Binding runtime + + org.opendaylight.mdsal + odl-mdsal-bytebuddy + xml + features + org.opendaylight.mdsal odl-mdsal-dom-runtime @@ -34,14 +40,6 @@ org.opendaylight.mdsal mdsal-binding-dom-codec - - - - net.bytebuddy - byte-buddy - - org.opendaylight.mdsal diff --git a/features/odl-mdsal-bytebuddy/pom.xml b/features/odl-mdsal-bytebuddy/pom.xml new file mode 100644 index 0000000000..1fb29a70c3 --- /dev/null +++ b/features/odl-mdsal-bytebuddy/pom.xml @@ -0,0 +1,29 @@ + + + + 4.0.0 + + org.opendaylight.mdsal + feature-parent + 10.0.0-SNAPSHOT + ../feature-parent + + + odl-mdsal-bytebuddy + feature + OpenDaylight :: MD-SAL :: ByteBuddy + byte-buddy + + + + net.bytebuddy + byte-buddy + + + diff --git a/features/pom.xml b/features/pom.xml index ed2deec650..c5bf43075f 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -35,6 +35,9 @@ odl-mdsal-binding-runtime odl-mdsal-binding-runtime-api + + odl-mdsal-bytebuddy + odl-mdsal-common