[
https://issues.apache.org/jira/browse/FLINK-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643024#comment-14643024
]
ASF GitHub Bot commented on FLINK-2200:
---------------------------------------
Github user chiwanpark commented on the pull request:
https://github.com/apache/flink/pull/885#issuecomment-125271970
There is wrong description in building documentation. Because Scala 2.11
profile activation is determined by property "scala-2.11", Scala 2.10 profile
is activated when we execute `mvn -Pscala-2.11`. Following commands is right:
```
mvn clean install -DskipTests -Dscala-2.11
```
About the shading artifacts, your guess is right. Because Hadoop packages
don't need Scala dependencies, I didn't add suffix to them. But if we need the
suffix for them to maintain uniformity, we can add the suffix. How do you think?
I just found another problem. I opened the dependency reduced pom in my
maven repository, there are some property expressions in artifact id. For
example, the following is head of flink-runtime module's pom.xml:
```
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>flink-parent${scala.suffix}</artifactId>
<groupId>org.apache.flink</groupId>
<version>0.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>flink-runtime${scala.suffix}</artifactId>
<name>flink-runtime</name>
<build>
<plugins>
<plugin>
```
As you see, there are property expressions (${scala.suffix}) in artifactId.
I think that it can be a problem. How can I solve this?
> 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)