From e4fd8bb375c03cb7726938f4a22775e3853bbe31 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Tue, 19 Apr 2011 11:24:31 +0000 Subject: QPID-3213: add ant+ivy task for uploading the client+common mavent artifacts to a staging repo in the ASF Nexus instance git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1095038 13f79535-47bb-0310-9956-ffa450edef68 --- java/ivy.xml | 39 ++++++++++++++++++++++++++ java/ivysettings-nexus.xml | 30 ++++++++++++++++++++ java/lib/ivy/README.txt | 11 ++++++++ java/upload.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 java/ivy.xml create mode 100644 java/ivysettings-nexus.xml create mode 100644 java/lib/ivy/README.txt create mode 100644 java/upload.xml diff --git a/java/ivy.xml b/java/ivy.xml new file mode 100644 index 0000000000..cdffcff458 --- /dev/null +++ b/java/ivy.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/ivysettings-nexus.xml b/java/ivysettings-nexus.xml new file mode 100644 index 0000000000..1d9c393e23 --- /dev/null +++ b/java/ivysettings-nexus.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + diff --git a/java/lib/ivy/README.txt b/java/lib/ivy/README.txt new file mode 100644 index 0000000000..f8a01f39b4 --- /dev/null +++ b/java/lib/ivy/README.txt @@ -0,0 +1,11 @@ +Folder used to store Ivy libs for use in publishing Maven artifacts. + +Ivy must be downloaded and extracted into this directory if it is not available in the Ant lib dir. + +File may be downloaded in 2 ways: +1. By running the following command from the qpid/java dir: + ant -buildfile upload.xml download-ivy +2. Manually download and extract via http://ant.apache.org/ivy. + +Note for method 1 you may also have to set proxy server settings in advance, eg: +export ANT_OPTS="-Dhttp.proxyHost= -Dhttp.proxyPort=" diff --git a/java/upload.xml b/java/upload.xml new file mode 100644 index 0000000000..abc58d9f97 --- /dev/null +++ b/java/upload.xml @@ -0,0 +1,68 @@ + + + + Targets for uploading releases to ASF's Nexus instance + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1