Re: Questions about Poms and Publishing

2018-11-19 Thread Anthony Baker
Thanks for the helpful pointers Andy! Anthony > On Nov 19, 2018, at 2:14 AM, Andy Wilkinson wrote: > > IMO, dependency constraints that are available in Gradle 4 are not a > substitute for the dependency management plugin. However, it may be that > the improved pom support that's coming in Gra

Re: Questions about Poms and Publishing

2018-11-19 Thread Andy Wilkinson
IMO, dependency constraints that are available in Gradle 4 are not a substitute for the dependency management plugin. However, it may be that the improved pom support that's coming in Gradle 5.0 could be. It depends on your specific needs. There's as an open issue

Re: Questions about Poms and Publishing

2018-11-16 Thread John Blum
Good question, and that may be a better question for Andy Wilkinson to answer since Andy created the Gradle dependencyManagement plugin. We/I use it quite extensively and with good results. On Fri, Nov 16, 2018 at 9:38 AM Robert Houghton wrote: > Thanks John. > > Do you foresee the native Gradl

Re: Questions about Poms and Publishing

2018-11-16 Thread Robert Houghton
Thanks John. Do you foresee the native Gradle DSL https://docs.gradle.org/current/userguide/managing_transitive_dependencies.html as an *eventual* replacement for the dependency-management-plugin you reference? On Tue, Nov 13, 2018 at 9:09 AM John Blum wrote: > If you'd like Maven dependencyMan

Re: Questions about Poms and Publishing

2018-11-13 Thread John Blum
If you'd like Maven dependencyManagement like behavior in Gradle, then you should have a look at... https://github.com/spring-gradle-plugins/dependency-management-plugin -j On Tue, Nov 13, 2018 at 8:10 AM, Bill Burcham wrote: > @Patrick Rhomberg I've never seen the > dependencyManagement elem

Re: Questions about Poms and Publishing

2018-11-13 Thread Bill Burcham
@Patrick Rhomberg I've never seen the dependencyManagement element survive in a published POM before. Since it sounds like you're asserting that you saw that element in a published POM (published by Gradle), I decided to verify that. I ran this from the Geode develop branch just now: ./gradlew b

Re: Questions about Poms and Publishing

2018-11-07 Thread Jacob Barrett
The dependency management element applies dependency constraints to first class dependencies and transitive dependencies. For example in dependency management of this say A:1 and B:2 it does not mean your module will necessarily depend on A:1 and B:2 but if the module or transitive module does t

Re: Questions about Poms and Publishing

2018-11-06 Thread Anthony Baker
I want reproducible builds. If dependency locking [1] works I would be open to dynamic versions [2]. Anthony [1] https://docs.gradle.org/current/userguide/dependency_locking.html [2] https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:declaring_dependency_with_dynamic_ver

Questions about Poms and Publishing

2018-11-06 Thread Patrick Rhomberg
Hello all! I've been working here and there on making each Geode module's dependencies explicit. Some previous discussion can be found in the archives [1]. My current question surrounds the structure of POMs in specifying version information. Gradle supports `dependency constraints` to unify li