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 | |
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
-rwxr-xr-x | build.sh | 9 | ||||
-rw-r--r-- | pom.xml | 58 |
2 files changed, 28 insertions, 39 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 . @@ -1,40 +1,20 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <groupId>javax.inject</groupId> - <artifactId>javax.inject</artifactId> - <version>1.0-SNAPSHOT</version> - - <name>Javax Inject from the JSR-330 Expert Group</name> - - <build> - <sourceDirectory>src</sourceDirectory> - <plugins> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - </plugins> - </build> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.5</version> - <configuration> - <bottom><![CDATA[<font size='-1'>Copyright (C) 2009 <a href='http://code.google.com/p/atinject/'>\ - The JSR-330 Expert Group</a>. \ - Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0'>Apache \ - License</a>, Version 2.0.</font>]]></bottom> - </configuration> - </plugin> - </plugins> - </reporting> - +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <packaging>jar</packaging> + <name>javax.inject</name> + <version>1</version> + <description>The javax.inject API</description> + <url>http://code.google.com/p/atinject/</url> + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <url>http://code.google.com/p/atinject/source/checkout</url> + </scm> </project> |