diff options
| author | Robert Gemmell <robbie@apache.org> | 2012-05-11 15:36:49 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2012-05-11 15:36:49 +0000 |
| commit | ed95fde2dc61790686a98106ad1fbd8ff15a510a (patch) | |
| tree | f226507c5002ec0da3660f1ffc52d9c42867b915 /qpid/java/ivysettings.retrieve.xml | |
| parent | 627984e1ae185bfeae12ad8c1d5f5e2024f7f414 (diff) | |
| download | qpid-python-ed95fde2dc61790686a98106ad1fbd8ff15a510a.tar.gz | |
QPID-3994: use Ivy to download the main component dependencies during the build, and the optional bdb-je dependency on request, enabling removal of the main component dependencies from the repository and the 'source release' artifacts.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337211 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/ivysettings.retrieve.xml')
| -rw-r--r-- | qpid/java/ivysettings.retrieve.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/qpid/java/ivysettings.retrieve.xml b/qpid/java/ivysettings.retrieve.xml new file mode 100644 index 0000000000..aead12935a --- /dev/null +++ b/qpid/java/ivysettings.retrieve.xml @@ -0,0 +1,45 @@ +<!-- + 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> + <property name="ivy.default.resolver" value="chain" override="false"/> + <property name="ivy.localfs.root" value="${project.root}/localfs_repo" override="false"/> + <property name="ivy.localfs.pattern" value="[artifact]-[revision](-[classifier]).[ext]" override="false"/> + <property name="ivy.m2repo.url" value="http://repo1.maven.org/maven2" override="false"/> + + <settings defaultResolver="${ivy.default.resolver}"/> + <resolvers> + <filesystem name="localfs"> + <artifact pattern="${ivy.localfs.root}/${ivy.localfs.pattern}" /> + </filesystem> + + <url name="m2repo" m2compatible="true"> + <artifact pattern="${ivy.m2repo.url}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> + </url> + + <url name="oracle" m2compatible="true"> + <artifact pattern="http://download.oracle.com/maven/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> + </url> + + <ibiblio name="public" m2compatible="true"/> + + <chain name="chain" returnFirst="true"> + <resolver ref="m2repo"/> + <resolver ref="oracle"/> + <resolver ref="public"/> + </chain> + </resolvers> +</ivysettings> |
