From 4eb2d60aa9f1a0eef1ee591dbaccb81c061f1ee0 Mon Sep 17 00:00:00 2001 From: Jorge Bescos Gascon Date: Wed, 15 May 2024 12:17:07 +0200 Subject: [PATCH 1/2] 4.x: helidon-common sources JAR contains absolute paths #8761 Signed-off-by: Jorge Bescos Gascon --- common/common/pom.xml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/common/common/pom.xml b/common/common/pom.xml index 19137590ee6..530af8e6115 100644 --- a/common/common/pom.xml +++ b/common/common/pom.xml @@ -42,17 +42,6 @@ - - - src/main/resources - - - src/main/templates - true - ${project.build.directory}/generated-sources/templates - - - org.codehaus.mojo @@ -66,7 +55,8 @@ - ${project.build.directory}/generated-sources/templates + src/main/java + src/main/templates From 0f5cc15a2792d737976ac46a04ca6317e5ec1de8 Mon Sep 17 00:00:00 2001 From: Jorge Bescos Gascon Date: Thu, 16 May 2024 07:09:21 +0200 Subject: [PATCH 2/2] Find other solution Signed-off-by: Jorge Bescos Gascon --- common/common/pom.xml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/common/common/pom.xml b/common/common/pom.xml index 530af8e6115..c415ee7680a 100644 --- a/common/common/pom.xml +++ b/common/common/pom.xml @@ -43,6 +43,27 @@ + + maven-resources-plugin + + + copy-resources + generate-sources + + resources + + + ${project.build.directory}/generated-sources/templates + + + src/main/templates + true + + + + + + org.codehaus.mojo build-helper-maven-plugin @@ -55,13 +76,12 @@ - src/main/java - src/main/templates + ${project.build.directory}/generated-sources/templates - +