[
https://issues.apache.org/jira/browse/FLINK-24609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-24609.
------------------------------------
Resolution: Fixed
master: d0c00aca3bf49c457ba4edc64a436174ee461703
1.14: 77d4f3aad0061cddced9ea93e6f0f5f17e6adb57
> flink-rpc-akka uses wrong Scala version property for parser-combinators
> -----------------------------------------------------------------------
>
> Key: FLINK-24609
> URL: https://issues.apache.org/jira/browse/FLINK-24609
> Project: Flink
> Issue Type: Technical Debt
> Components: Build System
> Affects Versions: 1.14.0, 1.15.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0, 1.14.1
>
>
> dependencyManagement entry:
> {code}
> <dependency>
> <groupId>org.scala-lang.modules</groupId>
>
> <artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
> <version>1.1.2</version>
> </dependency>
> {code}
> Conceptually this should use {{${akka.scala.binary.version}}}.
> Interestingly enough, changing this breaks the build because maven then
> ignores the entry entirely, only using the existing entry from the root pom.
> I think there's some bug where if properties are used in artifactIds, then
> the properties references themselves must match in order to override them.
> Amazingly, this even fails if you hard-code the scala version.
> Adding a direct dependency on parser-combinators does fix the packaging
> problem, but then we run into dependency convergence errors.
> What we can try is overriding {{scala.binary.version}} instead; maybe that
> does the trick...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)