o Put these in the wrong plugin directory.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jvanzyl committed 2003-03-12 03:50:43 +00:00
1 parent dcad6c9734
commit 91f58e5dc1
2 files changed
+26 -17

No files matched your search

+19 -17
View File
@@ -41,24 +41,26 @@
<define:tag name="create">
<mkdir dir="${maven.build.dir}"/>
<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"
/>
<!--
|
| Work around for Ant requiring specifics on which files get
| special perm treatment. When including the JRE the Ant tar task makes
| it very difficult to get the perms correct in the include JRE
| directory.
|
-->
<chmod
file="${pom.getPluginContext('maven-sea-plugin').getVariable('plugin.dir')}/sea-tar"
perm="+x"/>
<exec
executable="${pom.getPluginContext('maven-sea-plugin').getVariable('plugin.dir')}/sea-tar">
<arg value="${seaName}"/>
<arg value="${sourceDirectory}"/>
<arg value="${maven.build.dir}"/>
</exec>
<filter token="NOTICE" value="${pom.name} v${pom.currentVersion} - starting installation... please wait"/>
<filter token="WORK_DIR" value="${pom.artifactId}-${pom.currentVersion}"/>
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
SEA_NAME=$1
SOURCE_DIRECTORY=$2
TARGET_DIR=$3
tar -cvzf ${TARGET_DIR}/${SEA_NAME}.tar.gz -C ${SOURCE_DIRECTORY} `ls ${SOURCE_DIRECTORY}`