o removing sea plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114652 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jvanzyl
2004-02-02 13:15:34 +00:00
parent ac0da55b52
commit 90b39b7070
5 changed files with 0 additions and 191 deletions

View File

@@ -1,4 +0,0 @@
*~
target
velocity.log
maven.log

View File

@@ -1,105 +0,0 @@
<?xml version="1.0"?>
<project
xmlns:j="jelly:core"
xmlns:define="jelly:define"
xmlns:maven="jelly:maven">
<!-- ================================================================== -->
<!-- S E L F C O N T A I N E D A R C H I V E -->
<!-- ================================================================== -->
<!-- Create a self contained archive for Unix systems which understand -->
<!-- the tar and gzip commands. -->
<!-- -->
<!-- NOTE: This is a first attempt so I'm sure some adjustments will -->
<!-- have to be made for other Unices. I only use Linux. -->
<!-- ================================================================== -->
<!--
|
| Usage:
|
| <sea:create
| sourceDirectory="/path/to/contents"
| seaName="foo"
| />
|
| This will produce a self extracting file called foo.sh in
| ${maven.build.dir} which contains the contents of ${sourceDirectory}.
|
-->
<define:taglib uri="sea">
<!--
|
| @sourceDirectory
| @seaName
| @workdir
| @notice
|
-->
<define:tag name="create">
<mkdir dir="${maven.build.dir}"/>
<!--
|
| 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="${plugin.dir}/sea-tar"
perm="+x"/>
<exec
executable="${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}"/>
<copy
file="${plugin.resources}/sea-header"
tofile="${maven.build.dir}/project-sea-header"
overwrite="true"
filtering="true"
/>
<!--
|
| Concatenate the sea-header with the tarball we just made.
|
-->
<maven:concat outputFile="${maven.build.dir}/${seaName}.sh">
<maven:input file="${maven.build.dir}/project-sea-header"/>
<maven:input file="${maven.build.dir}/${seaName}.tar.gz"/>
</maven:concat>
<!--
|
| Flip on the +x bit so all users have to do is run it!
|
-->
<chmod file="${maven.build.dir}/${seaName}.sh" perm="+x"/>
<!--
|
| The archive has been packaged up in a self-extracting ball
| so we don't need the originals anymore.
|
-->
<delete file="${maven.build.dir}/${seaName}.tar"/>
<delete file="${maven.build.dir}/${seaName}.tar.gz"/>
<delete file="${maven.build.dir}/project-sea-header"/>
</define:tag>
</define:taglib>
</project>

View File

@@ -1,47 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>../project.xml</extend>
<pomVersion>3</pomVersion>
<id>maven-sea-plugin</id>
<name>Maven Self Extracting Archive Plug-in</name>
<currentVersion>1.0</currentVersion>
<description/>
<shortDescription>Create self extracting archive</shortDescription>
<url>http://maven.apache.org/reference/plugins/deploy/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/sea/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/sea/</connection>
<url>http://cvs.apache.org/viewcvs/maven-plugins/sea/</url>
</repository>
<developers>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>dion@multitask.com.au</email>
<organization>Multitask Consulting</organization>
<roles>
<role>Documentation</role>
</roles>
</developer>
<developer>
<name>Stéphane Mor</name>
<id>smor</id>
<email>stephanemor@yahoo.fr</email>
<organization>Hasgard Systèmes et Réseaux</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Jason van Zyl</name>
<id>jvanzyl</id>
<email>jason@zenplex.com</email>
<organization>Zenplex</organization>
<roles>
<role>Architect</role>
<role>Release Manager</role>
</roles>
</developer>
</developers>
</project>

View File

@@ -1,7 +0,0 @@
#!/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}`

View File

@@ -1,28 +0,0 @@
#!/bin/sh
echo ""
echo @NOTICE@
echo ""
# create a temp directory to extract to.
#export WRKDIR=`mktemp -d /tmp/selfextract.XXXXXX`
export WORK_DIR="@WORK_DIR@"
mkdir $WORK_DIR
SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0`
# Take the TGZ portion of this file and pipe it to tar.
tail +$SKIP $0 | tar xz -C $WORK_DIR
# execute the installation script
#PREV=`pwd`
#cd $WORK_DIR
#./install.sh
# delete the temp files
#cd $PREV
#rm -rf $WORK_DIR
exit 0
__ARCHIVE_FOLLOWS__