From 385a17b10373b327c3a4b0033ce97faee1160a79 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 5 Dec 2019 09:10:32 +0100 Subject: [PATCH] Include JCTools sources for shaded classes in the sources jar (#9838) Motivation: We should include the shaded sources for JCTools in our sources jar to make it easier to debug. Modifications: - Adjust plugin configuration to execute plugins in correct order - Update source plugin - Add configuration for shade plugin to generate source jar content Result: Fixes https://github.com/netty/netty/issues/6640. --- common/pom.xml | 2 ++ pom.xml | 19 ++++--------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/common/pom.xml b/common/pom.xml index a187e69926..acfae05471 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -121,6 +121,8 @@ true + true + true diff --git a/pom.xml b/pom.xml index 57adc5bdd2..383b3527a7 100644 --- a/pom.xml +++ b/pom.xml @@ -995,7 +995,7 @@ maven-source-plugin - 3.0.1 + 3.2.0 @@ -1013,27 +1013,16 @@ - attach-sources - invalid - - jar - - - - attach-sources-no-fork - package + prepare-package jar-no-fork attach-test-sources + prepare-package test-jar-no-fork @@ -1295,7 +1284,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.1.0 + 3.2.1