GitHub user gslowikowski opened a pull request:

    https://github.com/apache/spark/pull/18750

    Skip maven-compiler-plugin main and test compilations in Maven build

    `scala-maven-plugin` in `incremental` mode compiles `Scala` and `Java` 
classes. There is no need to execute `maven-compiler-plugin` goals to compile 
(in fact recompile) `Java`.
    
    This change reduces compilation time (over 10% on my machine).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gslowikowski/spark 
remove-redundant-compilation-from-maven

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18750.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18750
    
----
commit c8638bff14fd7bf4a9f87a948e82ec67aba222b4
Author: Grzegorz Slowikowski <gslowikow...@gmail.com>
Date:   2017-07-27T12:42:15Z

    Skip maven-compiler-plugin main and test compilations.
    
    scala-maven-plugin in incremental mode compiles Scala and Java classes. 
There is no need to execute maven-compiler-plugin goals to compile Java.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to