diff --git a/updateBundle.sh b/updateBundle.sh new file mode 100644 index 00000000..3dd2ef94 --- /dev/null +++ b/updateBundle.sh @@ -0,0 +1,29 @@ + +VERSION=1.1.0-beta0 +echo $VERSION + +MVN=/java/maven-2.0.4/bin/mvn + +update() { + MODULE=$1 + pushd $MODULE + $MVN repository:bundle-create + echo Maven exited with $? + if [ $? != 0 ] + then + echo mvn command failed + exit 1; + fi + scp target/$MODULE-$VERSION-bundle.jar pixie:/var/www/www.slf4j.org/htdocs/dist/bundles/ + popd +} + +update slf4j-api +update slf4j-archetype +update slf4j-jcl +update slf4j-jdk14 +update slf4j-log4j12 +update slf4j-nop +update slf4j-simple +update jcl104-over-slf4j +update log4j-over-slf4j \ No newline at end of file