PageRenderTime 54ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/release-0.1-rc2/hive/external/ivy/ivysettings.xml

#
XML | 95 lines | 47 code | 13 blank | 35 comment | 0 complexity | 9c85f5f8d30f48e3a843813e6fb4ad97 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. <ivysettings>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!--
  17. see http://www.jayasoft.org/ivy/doc/configuration
  18. -->
  19. <!-- you can override this property to use mirrors
  20. http://repo1.maven.org/maven2/
  21. http://mirrors.dotsrc.org/maven2
  22. http://ftp.ggi-project.org/pub/packages/maven2
  23. http://mirrors.sunsite.dk/maven2
  24. http://public.planetmirror.com/pub/maven2
  25. http://ibiblio.lsu.edu/main/pub/packages/maven2
  26. http://www.ibiblio.net/pub/packages/maven2
  27. -->
  28. <property name="repo.maven.org" value="http://repo1.maven.org/maven2/" override="false"/>
  29. <property name="snapshot.apache.org" value="https://repository.apache.org/content/repositories/snapshots/" override="false"/>
  30. <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision]"/>
  31. <property name="repo.dir" value="${user.home}/.m2/repository"/>
  32. <property name="maven2.pattern.ext" value="${maven2.pattern}.[ext]"/>
  33. <property name="resolvers" value="default" override="false"/>
  34. <settings defaultResolver="${resolvers}"/>
  35. <resolvers>
  36. <url name="hadoop-source">
  37. <artifact pattern="${hadoop.mirror}/hadoop/core/[artifact]-[revision]/[artifact]-[revision].[ext]" />
  38. </url>
  39. <ibiblio name="maven2" root="${repo.maven.org}" pattern="${maven2.pattern.ext}" m2compatible="true"/>
  40. <ibiblio name="apache-snapshot" root="${snapshot.apache.org}" m2compatible="true"
  41. checkmodified="true" changingPattern=".*SNAPSHOT"/>
  42. <url name="datanucleus-repo" m2compatible="true">
  43. <artifact pattern="${datanucleus.repo}/[organisation]/[module]/[revision]/[module]-[revision].[ext]"/>
  44. </url>
  45. <filesystem name="fs" m2compatible="true" force="true">
  46. <artifact pattern="${repo.dir}/org/apache/hadoop/[module]/[revision]/[module]-[revision].[ext]"/>
  47. <ivy pattern="${repo.dir}/org/apache/hadoop/[module]/[revision]/[module]-[revision].pom"/>
  48. </filesystem>
  49. <chain name="default" dual="true" checkmodified="true" changingPattern=".*SNAPSHOT">
  50. <resolver ref="hadoop-source"/>
  51. <resolver ref="apache-snapshot"/>
  52. <resolver ref="maven2"/>
  53. <resolver ref="datanucleus-repo"/>
  54. </chain>
  55. <chain name="internal" dual="true">
  56. <resolver ref="fs"/>
  57. <resolver ref="apache-snapshot"/>
  58. <resolver ref="maven2"/>
  59. <resolver ref="datanucleus-repo"/>
  60. </chain>
  61. <chain name="external">
  62. <resolver ref="maven2"/>
  63. <resolver ref="datanucleus-repo"/>
  64. </chain>
  65. </resolvers>
  66. <modules>
  67. <module organisation="org.apache.hadoop" name="hadoop-*" resolver="${resolvers}"/>
  68. </modules>
  69. <caches default="${ivy.cache.name}">
  70. <cache name="online"/>
  71. <!--
  72. Set the defaultTTL to 1000 days. Ivy 2.1.0 allows you to
  73. set this to "eternal", but we want to maintain backwards
  74. compatibility with older versions of Ivy which are likely
  75. to get picked up automatically from a user's $ANT_HOME
  76. directory.
  77. -->
  78. <cache name="offline" defaultTTL="1000d"/>
  79. </caches>
  80. </ivysettings>