ivysettings.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. <property name="repo.maven.org" value="http://repo1.maven.org/maven2/" override="false"/>
  17. <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision]"/>
  18. <property name="repo.dir" value="${user.home}/.m2/repository"/>
  19. <!-- pull in the local repository -->
  20. <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/>
  21. <property name="resolvers" value="default" override="false"/>
  22. <property name="force-resolve" value="false" override="false"/>
  23. <settings defaultResolver="${resolvers}"/>
  24. <resolvers>
  25. <!--ibiblio resolvers-->
  26. <ibiblio name="maven2" root="${repo.maven.org}" m2compatible="true"/>
  27. <filesystem name="fs" m2compatible="true" force="${force-resolve}">
  28. <artifact pattern="${repo.dir}/${maven2.pattern}.[ext]"/>
  29. <ivy pattern="${repo.dir}/${maven2.pattern}.pom"/>
  30. </filesystem>
  31. <chain name="default" dual="true">
  32. <resolver ref="maven2"/>
  33. </chain>
  34. <chain name="internal" dual="true">
  35. <resolver ref="fs"/>
  36. <resolver ref="maven2"/>
  37. </chain>
  38. </resolvers>
  39. </ivysettings>