I have a parent Maven project and a child module with both Scala and Java code. The child project compiles just fine by itself when running mvn scala:compile in
mvn scala:compile