the:
${pom.artifactId}-${pom.currentVersion}
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112765 13f79535-47bb-0310-9956-ffa450edef68
29 lines
496 B
Bash
29 lines
496 B
Bash
#!/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__
|