/bootstrap-ivysettings.xml Secret
Last active
January 25, 2017 22:27
-
-
Save nitay/a29582f3c558d85a37625cc375923dfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" usepoms="true" descriptor="required"/> | |
<!-- Typesafe's maven repo --> | |
<ibiblio name="typesafe" m2compatible="true" usepoms="true" descriptor="required" 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" descriptor="required" root="http://maven.twttr.com/"/> | |
<!-- Hive's dependencies. Remove once we get rid of Hive --> | |
<ibiblio name="conjars" m2compatible="true" usepoms="true" descriptor="required" root="http://conjars.org/repo"/> | |
<!-- AIQ jars from S3 --> | |
<s3resolver name="aiq" m2compatible="true" descriptor="required" root="s3://s3.amazonaws.com/aiq-artifacts/releases"/> | |
</chain> | |
</resolvers> | |
<settings defaultResolver="aiq-resolver-chain"/> | |
</ivysettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[resolve.ivy] | |
args: -debug | |
use_nailgun: False | |
;report: True | |
[ivy] | |
bootstrap_ivy_settings: %(pants_supportdir)s/bootstrap-ivysettings.xml | |
ivy_settings: %(pants_supportdir)s/ivysettings.xml | |
ivy_profile: %(pants_supportdir)s/ivy.xml | |
# Helpful to toggle for debugging, don't remove | |
level: debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment