diff --git a/build.xml b/build.xml index bc84009ed8..f62942ccde 100644 --- a/build.xml +++ b/build.xml @@ -152,13 +152,10 @@ under the License. - - @@ -215,6 +212,7 @@ under the License. + @@ -237,28 +235,17 @@ under the License. - - - Execute "ant -projecthelp" to view a listing of the main build - targets. - - Execute "ant help-properties" to view a listing of some properties - controlling the build process. - - - - - - - The following properties control the build process: - - -Ddisconnected="true": Do not execute any targets that require an online - connection to the Internet. - -Dtestcase=org.apache.poi.xxx.xxx : for the single-test target, specify - the test to run - -Dfilename=xxxx.xls : for the command line task targets, specify the - file to run against - - WARNING: This list is not exhaustive. + + This is POI ${version.id} + Java Version ${ant.java.version} + Timestamp ${DSTAMP} + The main targets of interest are: + - clean Erase all build work products (ie. everything in the build directory) + - compile Compile all files from main, ooxml, contrib and scratchpad + - test Run all unit tests from main, ooxml, contrib and scratchpad + - jar Produce jar files + - site Generate all documentation (Requires Apache Forrest) + - dist Create a distribution (Requires Apache Forrest) @@ -282,6 +269,7 @@ under the License. + @@ -424,9 +412,11 @@ under the License. + + - + @@ -705,8 +696,8 @@ under the License. - + @@ -863,15 +854,16 @@ under the License. - + Maven POMs are located in ${dist.dir} + Use mvn-deploy.sh to deploy the artifacts in the remote repository - + @@ -943,7 +935,33 @@ under the License. + + + + + + + + + + + + @@ -951,35 +969,20 @@ under the License. + + + + - - - - - - - + - - - - - - - - - - - - - - + @@ -990,87 +993,42 @@ under the License. + - - - - - - + + + - + - - - - - - - - - - - - - - + Creating Maven POMs - Generating MD5 Checksums - Distribution located in build/dist + Distribution located in ${dist.dir} - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/maven/mvn-deploy.sh b/maven/mvn-deploy.sh index 84a509e481..ae59e4bff7 100755 --- a/maven/mvn-deploy.sh +++ b/maven/mvn-deploy.sh @@ -69,11 +69,13 @@ scp poi-ooxml-@VERSION@-sources.* $M2_SCP/org/apache/poi/poi-ooxml/@VERSION@/ mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases -P apache-releases \ -Durl=$M2_REPOSITORY \ - -Dfile=poi-ooxml-schemas-@VERSION@-@DSTAMP@.jar -DpomFile=poi-ooxml-schemas-@VERSION@.pom -scp poi-ooxml-schemas-@VERSION@.pom.asc $M2_SCP/org/apache/poi/poi-ooxml-schemas/@VERSION@/ + -Dfile=poi-examples-@VERSION@-@DSTAMP@.jar -DpomFile=poi-examples-@VERSION@.pom +scp poi-examples-@VERSION@.pom.asc $M2_SCP/org/apache/poi/poi-examples/@VERSION@/ +scp poi-examples-@VERSION@-sources.* $M2_SCP/org/apache/poi/poi-examples/@VERSION@/ mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases -P apache-releases \ -Durl=$M2_REPOSITORY \ - -Dfile=poi-examples-@VERSION@-@DSTAMP@.jar -DpomFile=poi-examples-@VERSION@.pom -scp poi-examples-@VERSION@.pom.asc $M2_SCP/org/apache/poi/poi-examples/@VERSION@/ + -Dfile=poi-ooxml-schemas-@VERSION@-@DSTAMP@.jar -DpomFile=poi-ooxml-schemas-@VERSION@.pom +scp poi-ooxml-schemas-@VERSION@.pom.asc $M2_SCP/org/apache/poi/poi-ooxml-schemas/@VERSION@/ +