Github user gslowikowski commented on a diff in the pull request:
https://github.com/apache/spark/pull/18750#discussion_r129849368
--- Diff: pom.xml ---
@@ -1972,14 +1972,12 @@
</execution>
<execution>
<id>scala-compile-first</id>
- <phase>process-resources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile-first</id>
- <phase>process-test-resources</phase>
--- End diff --
Changing phase to one before `compile` is very old trick, used when
`scala-maven-plugin` compiles only Scala classes and this compilation must be
performed before Java classes compilation (by `maven-compiler-plugin`) because
Java classes depend on Scala classes.
In incremental compilation mode SBT compiler is used internally and it
compiles everything. Because `maven-compiler-plugin` is disabled (compilations
are skipped), there is no need to change default phase.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]