diff options
author | Bob Lee <crazybob@crazybob.org> | 2009-10-13 23:08:31 +0000 |
---|---|---|
committer | Bob Lee <crazybob@crazybob.org> | 2009-10-13 23:08:31 +0000 |
commit | 9ebe317ba4591536088edcf00c1796158f3112b3 (patch) | |
tree | bbc2541c450af1f687a252ca01eaa41843cd5363 /build.sh | |
parent | 294cc651f3a0012b46dabda4c28da6b538f8c099 (diff) | |
download | platform_external_jsr330-9ebe317ba4591536088edcf00c1796158f3112b3.tar.gz platform_external_jsr330-9ebe317ba4591536088edcf00c1796158f3112b3.tar.bz2 platform_external_jsr330-9ebe317ba4591536088edcf00c1796158f3112b3.zip |
Updated build script to build Maven bundle.
git-svn-id: https://atinject.googlecode.com/svn/trunk@63 3bc8319c-20ab-11de-9edc-3f40a397ab60
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 . |