summaryrefslogtreecommitdiff
path: root/qpid/java/ivysettings-nexus.xml
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2011-04-19 11:24:31 +0000
committerRobert Gemmell <robbie@apache.org>2011-04-19 11:24:31 +0000
commit39edbbb95807d9775d7c54044e859115cb904774 (patch)
tree5908af71c2df5683ce61aed709d228ad3562f50b /qpid/java/ivysettings-nexus.xml
parent6c904379b3ba82dd5d5b46723363f51e5770e17f (diff)
downloadqpid-python-39edbbb95807d9775d7c54044e859115cb904774.tar.gz
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@1095038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/ivysettings-nexus.xml')
-rw-r--r--qpid/java/ivysettings-nexus.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/qpid/java/ivysettings-nexus.xml b/qpid/java/ivysettings-nexus.xml
new file mode 100644
index 0000000000..1d9c393e23
--- /dev/null
+++ b/qpid/java/ivysettings-nexus.xml
@@ -0,0 +1,30 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<ivysettings>
+ <credentials host="${nexus.host}" realm="Sonatype Nexus Repository Manager" username="${nexus.user}" passwd="${nexus.password}"/>
+ <caches defaultCacheDir="${user.home}/.ivy2/cache"/>
+ <resolvers>
+ <ibiblio name="public" m2compatible="true"/>
+ <url name="nexus">
+ <artifact pattern="${nexus.upload.url}/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
+ </url>
+ </resolvers>
+ <modules>
+ <module organisation="${nexus.organisation}" name="qpid" resolver="nexus"/>
+ </modules>
+ <settings defaultResolver="public"/>
+</ivysettings>