[
https://issues.apache.org/jira/browse/FLINK-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642657#comment-14642657
]
ASF GitHub Bot commented on FLINK-2200:
---------------------------------------
Github user rmetzger commented on the pull request:
https://github.com/apache/flink/pull/885#issuecomment-125187262
Okay, I tried it again and you are right. It seems to create the artifacts
correctly.
I was confused because
a) the reactor summary didn't contain the variable:
```
[INFO] Reactor Summary:
[INFO]
[INFO] flink .............................................. SUCCESS [
5.004 s]
[INFO] flink-shaded-hadoop ................................ SUCCESS [
0.927 s]
[INFO] flink-shaded-include-yarn .......................... SUCCESS [
10.527 s]
[INFO] flink-shaded-include-yarn-tests .................... SUCCESS [
11.211 s]
[INFO] flink-core ......................................... SUCCESS [
7.121 s]
[INFO] flink-java ......................................... SUCCESS [
6.419 s]
[INFO] flink-runtime ...................................... SUCCESS [
40.310 s]
[INFO] flink-optimizer .................................... SUCCESS [
1.987 s]
[INFO] flink-clients ...................................... SUCCESS [
1.735 s]
[INFO] flink-test-utils ................................... SUCCESS [
5.362 s]
```
but that's because you are not setting the `<name>` tag. (That is fine, no
need to change it)
b) the shading artifacts (such as `flink-shaded-include-yarn`) are not
producing any `_2.11` suffixed artifacts. (But I guess that's also fine because
Hadoop doesn't have any scala dependencies.
This is the command I was using
```
git checkout -b flink2200-chiwan chiwan/FLINK-2200
mvn clean install -DskipTests -Pscala-2.11
```
I got the following error while running it
```
[ERROR] Failed to execute goal on project flink-scala_2.11: Could not
resolve dependencies for project
org.apache.flink:flink-scala_2.11:jar:0.10-SNAPSHOT: Could not find artifact
org.scalamacros:quasiquotes_2.11:jar:2.0.1 in central
(https://repo.maven.apache.org/maven2) -> [Help 1]
```
Are you getting this error as well?
It seems that maven is not activating the right profile in `flink-scala`?
> 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)