o script for creating the eclipse integration jar

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571901 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2007-09-02 00:00:32 +00:00
parent c16665a086
commit e72f6758be
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/bin/sh
ds=`date "+2.1.0.v%Y%m%d-%H%M"`
dir=`pwd`
mvn clean
(
cd ..
mvn source:aggregate
mkdir -p $dir/target
mv target/maven-2.1-SNAPSHOT-sources.jar $dir/target/maven-embedder-tycho-$ds-depsrc.zip
)
sed "s@<bundleVersion>.*</bundleVersion>@<bundleVersion>$ds</bundleVersion>@" pom.xml > tmp; mv tmp pom.xml
mvn -Dmaven.test.skip=true -Ptycho package