o make sure the .sh files remain executable.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112766 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
7e5c71ac3a
commit
51caeaa0c3
1 file changed
+13
-6
+13
-6
@@ -41,13 +41,20 @@
|
||||
<define:tag name="create">
|
||||
|
||||
<mkdir dir="${maven.build.dir}"/>
|
||||
|
||||
<tar
|
||||
longfile="gnu"
|
||||
tarfile="${maven.build.dir}/${seaName}.tar">
|
||||
<tarfileset dir="${sourceDirectory}"/>
|
||||
</tar>
|
||||
|
||||
<tar
|
||||
longfile="gnu"
|
||||
tarfile="${maven.build.dir}/${seaName}.tar">
|
||||
|
||||
<tarfileset dir="${sourceDirectory}" mode="755">
|
||||
<include name="**/*.sh"/>
|
||||
</tarfileset>
|
||||
<tarfileset dir="${sourceDirectory}">
|
||||
<include name="**/**"/>
|
||||
<exclude name="**/*.sh"/>
|
||||
</tarfileset>
|
||||
</tar>
|
||||
|
||||
<gzip
|
||||
zipfile="${maven.build.dir}/${seaName}.tar.gz"
|
||||
src="${maven.build.dir}/${seaName}.tar"
|
||||
|
||||
Reference in new issue
Block a user