-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip compilation when skip scoverage to speed up build #178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @justinplus, thanks for your PR!
could you please add a simple integration test similar to those in it
folder?
just something that will fail without your changes and pass with them
Thank you!
@@ -212,6 +212,9 @@ public void execute() throws MojoExecutionException | |||
|
|||
Properties projectProperties = project.getProperties(); | |||
|
|||
// for maven-compiler-plugin (compile), scala-maven-plugin (ompile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be compile
instead of ompile
, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I would correct it
Hi @jozic, is there any guideline to add a new integration test? |
@justinplus |
Hey @justinplus, are you still interested in this PR? |
Hey @justinplus |
@jozic Sorry for the delay, I would continue on this PR. |
Hey @justinplus |
Currently, when set
skip
astrue
in the configuration section of scoverage plugin, onlytestCompile
andtest
are skipped for plugins likemaven-compiler-plugin
andscalatest-maven-plugin
.This PR set
maven.main.skip
as true in project property to skip compilation of main as well to speed up build.