From 5e4c58053505fe4d0e3629f7013ac731125763f3 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 8 Jul 2020 10:44:44 +0200 Subject: [PATCH] Package test-jar sources Navigating sources tests in downstreams without sources is not particularly nice. Add tests-sources.jar to all artifacts which are producting test-jar. Change-Id: I4b77ca4f9e45638271eec68370db1658f4c20779 Signed-off-by: Robert Varga --- netconf/netconf-client/pom.xml | 24 ++++++++++++++++-------- netconf/netconf-impl/pom.xml | 12 ++++++++++-- netconf/netconf-util/pom.xml | 12 ++++++++++-- 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/netconf/netconf-client/pom.xml b/netconf/netconf-client/pom.xml index 7f3f53a4ff..d620eede55 100644 --- a/netconf/netconf-client/pom.xml +++ b/netconf/netconf-client/pom.xml @@ -35,12 +35,6 @@ ${project.groupId} netconf-util - - ${project.groupId} - netconf-util - test-jar - test - com.google.guava guava @@ -53,19 +47,33 @@ org.opendaylight.yangtools mockito-configuration + + ${project.groupId} + netconf-util + test-jar + test + - org.apache.maven.plugins maven-jar-plugin test-jar - package + + + + + maven-source-plugin + + + + test-jar-no-fork + diff --git a/netconf/netconf-impl/pom.xml b/netconf/netconf-impl/pom.xml index 9c8dbcc172..845f281c17 100644 --- a/netconf/netconf-impl/pom.xml +++ b/netconf/netconf-impl/pom.xml @@ -107,14 +107,22 @@ - org.apache.maven.plugins maven-jar-plugin test-jar - package + + + + + maven-source-plugin + + + + test-jar-no-fork + diff --git a/netconf/netconf-util/pom.xml b/netconf/netconf-util/pom.xml index 43e0c9aa29..bce6df5183 100644 --- a/netconf/netconf-util/pom.xml +++ b/netconf/netconf-util/pom.xml @@ -115,14 +115,22 @@ - org.apache.maven.plugins maven-jar-plugin test-jar - package + + + + + maven-source-plugin + + + + test-jar-no-fork + -- 2.36.6