summaryrefslogtreecommitdiff
path: root/qpid/java/ivysettings.retrieve.xml
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2012-05-06 22:59:04 +0000
committerRobert Gemmell <robbie@apache.org>2012-05-06 22:59:04 +0000
commite4c35d5b84d5a900124af468f3576fed84409da7 (patch)
tree784ed80b25f69f16765624368f1747aded926a3d /qpid/java/ivysettings.retrieve.xml
parent9fdddeeddcc2368683b379e59ab8480aaf058b48 (diff)
downloadqpid-python-e4c35d5b84d5a900124af468f3576fed84409da7.tar.gz
NO-JIRA: use Ivy to download the dependencies
- Merge upload.xml into main common.xml/build.xml file, functionality is now the upload target. - Update the global build target to automatically download Ivy if required and retrieve dependencys (can be overriden). - Add configurable support for resolving against an m2 repo (default, central repo), or a flat folder of jars in the filesystem (as previously used). - Update build process to allow using full filename for the javacc dependency. - Update jython version to allow downloading the dependency, clarify that its the 'standalone' version in use. - Update ivy files to use variables instead of hard coded values for project version etc. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/dep_removal@1334816 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/ivysettings.retrieve.xml')
-rw-r--r--qpid/java/ivysettings.retrieve.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/qpid/java/ivysettings.retrieve.xml b/qpid/java/ivysettings.retrieve.xml
new file mode 100644
index 0000000000..c4287cee16
--- /dev/null
+++ b/qpid/java/ivysettings.retrieve.xml
@@ -0,0 +1,32 @@
+<!--
+ 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="m2repo" 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>
+ </resolvers>
+</ivysettings>