From 9ebe317ba4591536088edcf00c1796158f3112b3 Mon Sep 17 00:00:00 2001 From: Bob Lee Date: Tue, 13 Oct 2009 23:08:31 +0000 Subject: Updated build script to build Maven bundle. git-svn-id: https://atinject.googlecode.com/svn/trunk@63 3bc8319c-20ab-11de-9edc-3f40a397ab60 --- build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 14f484a..66cf621 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ NAME=javax.inject +VERSION=1 # Clear and recreate build directory. rm -r build @@ -47,3 +48,11 @@ jar cfM build/tck/dist/$NAME-tck.jar -C build/tck/classes . jar cfM build/$NAME.zip -C build/dist . jar cfM build/$NAME-tck.zip -C build/tck/dist . + +# Build Maven bundle. +mkdir build/maven +cp build/dist/$NAME.jar build/maven/$NAME-$VERSION.jar +cp build/dist/$NAME-src.zip build/maven/$NAME-$VERSION-sources.jar +cp build/dist/$NAME-javadoc.zip build/maven/$NAME-$VERSION-javadoc.jar +cp pom.xml build/maven +jar cfM build/$NAME-$VERSION-bundle.jar -C build/maven . -- cgit v1.2.3