[
https://issues.apache.org/jira/browse/BEAM-11437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kiley Sok updated BEAM-11437:
-----------------------------
Description:
Beam currently forces versions[1] of the dependencies listed in the
BeamModulePlugin[2], which are not similarly forced in the generated Maven POM.
Users who use the POM are not guaranteed to get the same dependencies that we
expect when we build using Gradle.
Once we use BOMs to control dependency versions instead of forcing the
dependencies, we can get Maven and Gradle to use the same versions.
[1]
[https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L1462-L1466]
[2]
[https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L458]
was:
Beam currently forces versions[1] of the dependencies listed in the
BeamModulePlugin[2], which are not similarly forced in the generated Maven POM.
Users who use the POM are not guaranteed to get the same dependencies that we
expect when we build using Gradle.
[1]
[https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L1462-L1466]
[2]
https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L458
> Fix dependency consistency between POM and Gradle
> -------------------------------------------------
>
> Key: BEAM-11437
> URL: https://issues.apache.org/jira/browse/BEAM-11437
> Project: Beam
> Issue Type: Bug
> Components: dependencies
> Reporter: Kiley Sok
> Priority: P2
>
> Beam currently forces versions[1] of the dependencies listed in the
> BeamModulePlugin[2], which are not similarly forced in the generated Maven
> POM. Users who use the POM are not guaranteed to get the same dependencies
> that we expect when we build using Gradle.
> Once we use BOMs to control dependency versions instead of forcing the
> dependencies, we can get Maven and Gradle to use the same versions.
> [1]
> [https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L1462-L1466]
> [2]
> [https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L458]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)