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:43 UTC

[maven-mvnd] branch source-distrib created (now ff561d1)

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

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


      at ff561d1  configure execution bit for required scripts in source distribution

This branch includes the following new commits:

     new ff561d1  configure execution bit for required scripts in source distribution

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by hb...@apache.org.
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>