flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2933) Flink scala libraries exposed with maven should carry scala version
Date Sat, 23 Jan 2016 10:59:39 GMT

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

ASF GitHub Bot commented on FLINK-2933:
---------------------------------------

Github user aljoscha commented on the pull request:

    https://github.com/apache/flink/pull/1529#issuecomment-174171530
  
    Can it not be prevented that flink-java8 and flink-storm and flink-gelly have the scala
dependency? I think that would be very strange for java programmers. flink-java does not seem
to have the dependency.


> Flink scala libraries exposed with maven should carry scala version
> -------------------------------------------------------------------
>
>                 Key: FLINK-2933
>                 URL: https://issues.apache.org/jira/browse/FLINK-2933
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System
>            Reporter: Frederick F. Kautz IV
>            Assignee: Maximilian Michels
>            Priority: Minor
>
> [If I put this on the wrong component, can someone please update?]
> Major versions of scala are not forward nor backwards compatible. Libraries build for
2.10 will not work with 2.11 or vice versa.
> In order to avoid build related problems, it is strongly recommended to append the scala
version it is compatible within the artifact id. This ensures the correct version of the library
is pulled in rather than deferring the problem to a future build or runtime error.
> For example, akka exposes the following packages for the same version:
> {code}
> <dependency>
> 	<groupId>com.typesafe.akka</groupId>
> 	<artifactId>akka-actor_2.10</artifactId>
> 	<version>2.3.14</version>
> </dependency>
> {code}
> {code}
> <dependency>
> 	<groupId>com.typesafe.akka</groupId>
> 	<artifactId>akka-actor_2.11</artifactId>
> 	<version>2.3.14</version>
> </dependency>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message