Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24609

flink-rpc-akka uses wrong Scala version property for parser-combinators

    XMLWordPrintableJSON

Details

    Description

      dependencyManagement entry:

      <dependency>
      	<groupId>org.scala-lang.modules</groupId>
      	<artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
      	<version>1.1.2</version>
      </dependency>
      

      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...

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: