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

sseifert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a1b071  Set assembly plugin runOnlyAtExecutionRoot=false to make sure 
each jar file get's it source-release.zip attachment
3a1b071 is described below

commit 3a1b071300c7b447d0e92ba3da5a246c7735d9a2
Author: sseifert <[email protected]>
AuthorDate: Tue Aug 21 18:43:58 2018 +0200

    Set assembly plugin runOnlyAtExecutionRoot=false to make sure each jar file 
get's it source-release.zip attachment
---
 parent/pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index 5809dd6..a57154a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -104,4 +104,28 @@
             </plugins>
         </pluginManagement>
     </build>
+
+   <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <!-- Set runOnlyAtExecutionRoot=false to make sure each 
jar file get's it source-release.zip attachment -->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>source-release-assembly</id>
+                                <configuration>
+                                    
<runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+    
 </project>

Reply via email to