You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2022/05/07 05:18:44 UTC

[maven-mvnd] 01/01: configure execution bit for required scripts in source distribution

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

hboutemy pushed a commit to branch source-distrib
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit ff561d15df475314cbce39f6f32d170d04f3d763
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat May 7 07:18:37 2022 +0200

    configure execution bit for required scripts in source distribution
---
 .github/workflows/release.yaml |  2 +-
 src/main/assembly/src.xml      | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 3fc3f05..22df384 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -92,7 +92,7 @@ jobs:
           github-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: 'Build source distribution'
-        run: ./mvnw clean verify -Psource-distribution -pl :mvnd -Dmrm=false -B -ntp -e
+        run: ./mvnw clean verify -Psource-distribution -N -B -ntp -e
 
       - name: 'Upload artifact'
         uses: actions/upload-artifact@v2
diff --git a/src/main/assembly/src.xml b/src/main/assembly/src.xml
index 45225f0..816e05b 100644
--- a/src/main/assembly/src.xml
+++ b/src/main/assembly/src.xml
@@ -25,6 +25,16 @@ under the License.
     <format>tar.gz</format>
   </formats>
   <fileSets>
+    <fileSet>
+      <directory>${project.basedir}</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>mvnw</include>
+        <include>native/docker/*</include>
+        <include>build/*.sh</include>
+      </includes>
+      <fileMode>0755</fileMode>
+    </fileSet>
     <fileSet>
       <directory>${project.basedir}</directory>
       <outputDirectory>/</outputDirectory>