On Sat, 1 Sep 2012 00:50:18 -0700 (PDT)
Eric Bowman <
ebo...@gilt.com> wrote:
> I'm trying to prevent depending on jerkson, from doing an expensive
> "version range query" using ivy.
>
> In my 0.12.0 project, I'm declaring the dependency on jerkson like:
>
> "com.codahale" %% "jerkson" % "0.5.0" excludeAll(
> ExclusionRule(organization = "org.codehaus.jackson")
> ),
>
>
>
> The generates ivy.xml like:
>
> <dependency org="com.codahale" name="jerkson_2.9.1" rev="0.5.0" conf=
> "compile->default(compile)">
> <exclude org="org.codehaus.jackson" module="*" name="*" type="jar" ext=
> "*" conf="" matcher="exact"/>
> </dependency>
This will probably be fixed by:
https://github.com/harrah/xsbt/commit/dfac015eb34d41e9ef44db0679d470d143798cac
which will go in 0.12.1. (This release should be binary and source compatible with 0.12.0 and I expect the release process for it to begin soon.)
-Mark
> I'm building a library which an ant + ivy build depend on, and this ivy xml
> doesn't stop ivy from doing the expensive resolve.
>
> However if I hand-modify the ivy xml to look like:
>
> <dependency org="com.codahale" name="jerkson_2.9.1" rev="0.5.0" conf=
> "compile->default(compile)">
> <exclude org="org.codehaus.jackson"/>
> </dependency>
>
> ...the right stuff happens (ant+ivy builds go fast).
>
> Is it possible to get sbt 12 to generate ivy xml like this?
>
> Thanks,
> Eric
>
>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/simple-build-tool/-/hhrB2T_qJJUJ.
> To post to this group, send email to
simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to
simple-build-t...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/simple-build-tool?hl=en.
>