[
https://issues.apache.org/jira/browse/FLINK-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613141#comment-14613141
]
ASF GitHub Bot commented on FLINK-2200:
---------------------------------------
Github user aalexandrov commented on the pull request:
https://github.com/apache/flink/pull/885#issuecomment-118326627
I think that a cleaner solution would be to
1. Add a `scala.suffix` to the Scala profiles. This should be set as the
empty string for 2.10 and as `_${scala.binary.version}` for 2.11.
2. Append the suffix to the required `artifactId` elements. For example,
instead of
```
<artifactId>${flink.clients.artifactId}</artifactId>
```
you would write
```
<artifactId>flink-clients${scala.suffix}</artifactId>
```
IMHO this makes everything a bit easier to read and then a straight-forward
to migrate to the "best practice" way of having a suffix for all profiles in
the future.
> Flink API with Scala 2.11 - Maven Repository
> --------------------------------------------
>
> Key: FLINK-2200
> URL: https://issues.apache.org/jira/browse/FLINK-2200
> Project: Flink
> Issue Type: Wish
> Components: Build System, Scala API
> Reporter: Philipp Götze
> Assignee: Chiwan Park
> Priority: Trivial
> Labels: maven
>
> It would be nice if you could upload a pre-built version of the Flink API
> with Scala 2.11 to the maven repository.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)