Github user aljoscha commented on the issue:
https://github.com/apache/flink/pull/4233
I think we should be able to do this as a two-step process without changing
the poms:
```
mvn install -pl flink-tests,flink-foo-bar -am -DskipTests
-Dmaven.javadoc.skip=true
mvn verify -pl flink-tests,flink-foo-bar -Dmaven.javadoc.skip=true
```
The first line will make sure that we have all the dependencies built, the
second one only executes the tests in the given submodules. We cannot do it as
one step because running `mvn verify -pl flink-tests,... -am` would run the
tests also on all dependencies of `flink-test,...`.
However, it seems we can't do this because the second incantation fails
with
```
[WARNING] Some problems were encountered while building the effective model
for org.apache.flink:flink-scala-shell_2.11:jar:1.4-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.flink:flink-scala-shell_${scala.binary.version}:[unknown-version],
/Users/aljoscha/Dev/flink/flink-scala-shell/pom.xml, line 30, column 14
```
that is including the Scala version in our artifact IDs broke this.
---
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.
---