ivysettings.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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](-[classifier])"/>
  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. <property name="force-resolve" value="false" override="false"/>
  35. <settings defaultResolver="${resolvers}"/>
  36. <resolvers>
  37. <ibiblio name="maven2" root="${repo.maven.org}" pattern="${maven2.pattern.ext}" m2compatible="true" checkconsistency="false"/>
  38. <ibiblio name="apache-snapshot" root="${snapshot.apache.org}" m2compatible="true"
  39. checkmodified="true" changingPattern=".*SNAPSHOT" checkconsistency="false"/>
  40. <filesystem name="fs" m2compatible="true" checkconsistency="false" force="${force-resolve}">
  41. <artifact pattern="${repo.dir}/${maven2.pattern.ext}"/>
  42. <ivy pattern="${repo.dir}/[organisation]/[module]/[revision]/[module]-[revision].pom"/>
  43. </filesystem>
  44. <chain name="default" dual="true" checkmodified="true" changingPattern=".*SNAPSHOT">
  45. <resolver ref="apache-snapshot"/>
  46. <resolver ref="maven2"/>
  47. </chain>
  48. <chain name="internal" dual="true">
  49. <resolver ref="fs"/>
  50. <resolver ref="apache-snapshot"/>
  51. <resolver ref="maven2"/>
  52. </chain>
  53. <chain name="external">
  54. <resolver ref="maven2"/>
  55. </chain>
  56. </resolvers>
  57. <modules>
  58. <module organisation="org.apache.hadoop" name="hadoop-*" resolver="${resolvers}"/>
  59. </modules>
  60. </ivysettings>