From a644a4b390a096ef9b1afc7b977a27f37ca2fcc4 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 19 Jun 2020 12:47:46 +1000 Subject: [PATCH] no need of creating/attaching sources twice for release as it is done in the default build (and we do not need forking a lifecycle for that) (#4938) * no need of creating/attaching sources twice for release as it is done in the default build Signed-off-by: olivier lamy * comment Signed-off-by: olivier lamy * no need to fork a lifecycle when attaching sources files Signed-off-by: olivier lamy --- pom.xml | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/pom.xml b/pom.xml index d32458e38bae..6de899bec154 100644 --- a/pom.xml +++ b/pom.xml @@ -311,6 +311,7 @@ + org.apache.maven.plugins maven-source-plugin @@ -318,22 +319,10 @@ attach-sources - process-classes + package - jar + jar-no-fork - - - - 2 - ${project.name} - ${bundle-symbolic-name}.source - Eclipse Jetty Project - ${parsedVersion.osgiVersion} - ${bundle-symbolic-name};version="${parsedVersion.osgiVersion}";roots:="." - - - @@ -657,6 +646,18 @@ org.apache.maven.plugins maven-source-plugin ${maven.source.plugin.version} + + + + 2 + ${project.name} + ${bundle-symbolic-name}.source + Eclipse Jetty Project + ${parsedVersion.osgiVersion} + ${bundle-symbolic-name};version="${parsedVersion.osgiVersion}";roots:="." + + + org.apache.maven.plugins @@ -1341,18 +1342,6 @@ true - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar-no-fork - - - - org.apache.maven.plugins maven-javadoc-plugin