Skip to content

Instantly share code, notes, and snippets.

Created January 25, 2017 17:51
Show Gist options
  • Save anonymous/15e65f1f785f0e6e65c70c0afe2cca99 to your computer and use it in GitHub Desktop.
Save anonymous/15e65f1f785f0e6e65c70c0afe2cca99 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<ivysettings>
<property name="m2.repo.dir" value="${user.home}/.m2/repository" override="false"/>
<property name="m2.repo.relpath" value="[organisation]/[module]/[revision]"/>
<property name="sbt.repo.dir" value="${user.home}/.ivy2/local" override="false"/>
<property name="sbt.repo.relpath" value="[organization]/[module]/[revision]"/>
<resolvers>
<chain name="bootstrap-aiq-resolver-chain" returnFirst="true">
<!-- uncomment for local testing with an sbt repo -->
<!--<filesystem name="local.sbt" m2compatible="false" local="true" checkmodified="true">-->
<!--<ivy pattern="${sbt.repo.dir}/${sbt.repo.relpath}/poms/[module].pom "/>-->
<!--<artifact pattern="${sbt.repo.dir}/${sbt.repo.relpath}/[type]s/[module].[ext]"/>-->
<!--</filesystem>-->
<!-- uncomment for local testing with a maven repo -->
<!--<filesystem name="local.m2" m2compatible="true" local="true" checkmodified="true">-->
<!--<ivy pattern="${m2.repo.dir}/${m2.repo.relpath}/[module]-[revision].pom"/>-->
<!--<artifact pattern="${m2.repo.dir}/${m2.repo.relpath}/[artifact]-[revision](-[classifier]).[ext]"/>-->
<!--</filesystem>-->
<!-- Standard maven repo, do not remove -->
<ibiblio name="boot-maven-central" m2compatible="true" descriptor="required" usepoms="true"/>
</chain>
</resolvers>
<settings defaultResolver="bootstrap-aiq-resolver-chain"/>
</ivysettings>
<!-- See http://bit.ly/1TKKmpd -->
<ivy-module version="2.0">
<info organisation="co.actioniq" module="ivy"/>
<dependencies defaultconf="default">
<dependency org="org.apache.ivy" name="ivy" rev="2.4.0"/>
<dependency org="co.actioniq" name="s3-ivy-resolver" rev="0.3"/>
<dependency org="commons-httpclient" name="commons-httpclient" rev="3.1"/>
</dependencies>
</ivy-module>
<?xml version="1.0"?>
<ivysettings>
<!-- Ivy S3 library that we hacked up - https://github.com/ActionIQ/s3-ivy-resolver -->
<typedef name="s3resolver" classname="co.actioniq.ivy.s3.S3URLResolver"/>
<property name="m2.repo.dir" value="${user.home}/.m2/repository" override="false"/>
<property name="m2.repo.relpath" value="[organization]/[module]/[revision]"/>
<property name="sbt.repo.dir" value="${user.home}/.ivy2/local" override="false"/>
<property name="sbt.repo.relpath" value="[organization]/[module]/[revision]"/>
<resolvers>
<chain name="aiq-resolver-chain" returnFirst="true">
<!-- For testing other sbt projects with publishLocal -->
<!--<filesystem name="local.sbt" m2compatible="false" local="true" checkmodified="true">-->
<!--<ivy pattern="${sbt.repo.dir}/${sbt.repo.relpath}/poms/[module].pom "/>-->
<!--<artifact pattern="${sbt.repo.dir}/${sbt.repo.relpath}/[type]s/[module].[ext]"/>-->
<!--</filesystem>-->
<!-- For testing other maven projects with mvn install -->
<!--<filesystem name="local.m2" m2compatible="true" local="true" checkmodified="true">-->
<!--<ivy pattern="${m2.repo.dir}/${m2.repo.relpath}/[module]-[revision].pom"/>-->
<!--<artifact pattern="${m2.repo.dir}/${m2.repo.relpath}/[artifact]-[revision](-[classifier]).[ext]"/>-->
<!--</filesystem>-->
<!-- Standard maven repo, do not remove -->
<ibiblio name="maven-central" m2compatible="true" descriptor="required" usepoms="true"/>
<!-- Typesafe's maven repo -->
<ibiblio name="typesafe" m2compatible="true" usepoms="true" root="http://repo.typesafe.com/typesafe/releases/"/>
<!-- Twitter-hosted jvm tools - remove once they are published to maven central. -->
<ibiblio name="twitter" m2compatible="true" usepoms="true" root="http://maven.twttr.com/"/>
<!-- AIQ jars from S3 -->
<s3resolver name="aiq" root="s3://s3.amazonaws.com/aiq-artifacts/releases"/>
</chain>
</resolvers>
<settings defaultResolver="aiq-resolver-chain"/>
</ivysettings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment