You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/05 01:57:00 UTC

[jira] [Commented] (GEODE-6399) Use java-platform to unify dependencyManagement in published artifacts

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

ASF subversion and git services commented on GEODE-6399:
--------------------------------------------------------

Commit 4ec282f9b0938fcd7a16eb7a6a324bd215344a0e in geode's branch refs/heads/feature/GEODE-6481 from Patrick Rhomberg
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4ec282f ]

GEODE-6399: Manage dependency versions via java-platform (#3190)

* All applicable projects should opt into dependency version management
via bom consumption, i.e.,
    compile(platform(project(':boms:geode-all-bom')))

* Those configurations that do not extend compile, such as compileOnly
or those provided by other plugins, will also require a dependency on
the platform's BOM

* The BOM itself is now configured via the buildSrc
DependencyConstraints.groovy.  This replaces
geode-dependency-management.gradle.

* Those lingering "property" versions are now accessible via
DependencyConstraints.get() rather than project properties.

* Published POMs now correctly consume the Geode BOM, rather than
reproducing the same dependencyManagement block across all POMs.

* expected_pom.xml, expected_classpath.txt, and dependency_classpath.txt
files have been accordingly updated.

* publish.gradle now sets the project property constrainVersionInBom,
indicating that the published artifact should be constrained to the same
version in the geode-all-bom as the BOM itself.  Use
    project.ext.set('constrainVersionInBom', true)
to opt into the constrain set without consuming publish.gradle, or the
inverse to opt out.

* Explicit dependency in test.gradle on geode-junit:1.3.0 has been
removed.
It is only needed in buildSrc testRuntime.

* Unused 'bundled' configuration from legacy publication style has been
removed.

Co-authored-by: Patrick Rhomberg <pr...@pivotal.io>
Co-authored-by: Robert Houghton <rh...@pivotal.io>


> Use java-platform to unify dependencyManagement in published artifacts
> ----------------------------------------------------------------------
>
>                 Key: GEODE-6399
>                 URL: https://issues.apache.org/jira/browse/GEODE-6399
>             Project: Geode
>          Issue Type: Sub-task
>            Reporter: Patrick Rhomberg
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Requires GEODE-6398.
> Via {{java-platform}}, we can declare inter-subproject BOM dependencies that resolve at configuration time, allowing us to bump dependency versions without updating each of our ~30 {{expected-pom.xml}} files.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)