This is an automated email from the ASF dual-hosted git repository.

gk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/turbine-archetypes.git

commit 822d7d525aa600733945c9c67300b9dce5e97ac0
Author: Georg Kallidis <[email protected]>
AuthorDate: Fri Nov 28 12:26:56 2025 +0100

    Add workaround and skip sources from Apache super pom, as we provide own 
src assembly turbine-default-assembly
---
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index 736a90d..aa2f2a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,6 +85,18 @@
     </pluginManagement>
     
    <plugins>
+          <!-- we use not the  sources jar format which is done in Apache  
pom, but use our own  turbine-default-assembly to generate.
+               Due to an error when buildign with mvn install package we have 
to skip source from Apache pom 
+               The error is: duplicated artifacts attached, you have to 
configure a classifier for at least one of them or set identical goal,
+               workaround may be resolved in turbine-parent v15.
+              --> 
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+             <configuration>
+                <skipSource>true</skipSource>
+             </configuration>
+          </plugin> 
         <!-- filtering for docker -->
         <plugin>
             <artifactId>maven-resources-plugin</artifactId>

Reply via email to