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`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---