mirror of https://github.com/apache/maven.git
16 lines
361 B
Bash
16 lines
361 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
ds=`date "+2.1.0.v%Y%m%d-%H%M"`
|
||
|
dir=`pwd`
|
||
|
|
||
|
mvn source:aggregate
|
||
|
mv target/maven-2.1-SNAPSHOT-sources.jar $dir/maven-embedder-$ds-depsrc.zip
|
||
|
|
||
|
(
|
||
|
|
||
|
cd maven-embedder
|
||
|
sed "s@<bundleVersion>.*</bundleVersion>@<bundleVersion>$ds</bundleVersion>@" pom.xml > tmp; mv tmp pom.xml
|
||
|
mvn clean assembly:assembly
|
||
|
mv target/maven-embedder-$ds-dep.jar $dir
|
||
|
)
|