[ 
https://issues.apache.org/jira/browse/BUILDR-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15733358#comment-15733358
 ] 

Michael Guymon commented on BUILDR-274:
---------------------------------------

The original intent of Naether was to provide dependency resolution for Buildr, 
so I am pleased to hear that it is a possible solution.

I like the idea of options that can be determined per project, but the have a 
sensible default. I would advocate that the Jarfile.lock (or any way to persist 
the results) is good since it allows consistency in the builds. Also, the 
dependency resolution can be pokey, so avoiding it on every build would be 
worthwhile. 

That being said, developing #1 first and then expanding into #2 and #3 sounds 
like a good way to get started. I could put something together a proof of 
concept as a jumping off point.

One consideration is that Naether is pretty out of date, it uses an older 
version of Maven's Aether. It "just works" so I have not had a burning desiring 
to upgrade it, but i may be worthwhile to get up to date if this is something 
Buildr wants to invest in.

> Support dependency version ranges for transitive dependencies
> -------------------------------------------------------------
>
>                 Key: BUILDR-274
>                 URL: https://issues.apache.org/jira/browse/BUILDR-274
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Dependency management
>            Reporter: Martin Grotzke
>             Fix For: Wish List
>
>
> It seems that right now dependency version ranges as shown here [1] are not 
> supported.
> A version range is e.g. used by ehcache-web ([2]), so that when I use
>   transitive('net.sf.ehcache:ehcache-web:jar:1.6.0-beta2')
> buildr fails with this error:
>   Failed to download net.sf.ehcache:ehcache:pom:[1.6.0-beta4,], tried the 
> following repositories...
> It would be great to have support for version ranges, otherwise some libs 
> cannot be used with transitive().
> [1] 
> http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-version-ranges.html
> [2] 
> http://repo1.maven.org/maven2/net/sf/ehcache/ehcache-web/1.6.0-beta2/ehcache-web-1.6.0-beta2.pom



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to