From 6211d19503f3f67e5aabe904cdefa94cd77b3b39 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 5 Dec 2019 09:09:56 +0100 Subject: [PATCH] Include JCTools sources for shaded classes in the sources jar 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 30443ffdfe..86a031be9b 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 4701171f23..56f0eb5379 100644 --- a/pom.xml +++ b/pom.xml @@ -978,7 +978,7 @@ maven-source-plugin - 3.0.1 + 3.2.0 @@ -996,27 +996,16 @@ - attach-sources - invalid - - jar - - - - attach-sources-no-fork - package + prepare-package jar-no-fork attach-test-sources + prepare-package test-jar-no-fork @@ -1278,7 +1267,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.1.0 + 3.2.1