-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Specify Error Prone JVM args with .mvn/jvm.config
#2339
Specify Error Prone JVM args with .mvn/jvm.config
#2339
Conversation
This allows avoiding fork mode for compilation, which: - might slightly reduce compilation time - guarantees that all compiler diagnostics are properly reported
<rules> | ||
<requireMavenVersion> | ||
<!-- Usage of `.mvn/jvm.config` for Error Prone requires at least Maven 3.3.1 --> | ||
<version>[3.3.1,)</version> |
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.
Possibly some plugins used during build already require a newer version, but version 3.3.1 (released in 2015) added support for .mvn/jvm.config
, so it is definitely the lower bound.
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.
Thanks, this is great! One question, though.
Thanks again! |
* Specify Error Prone JVM args with `.mvn/jvm.config` This allows avoiding fork mode for compilation, which: - might slightly reduce compilation time - guarantees that all compiler diagnostics are properly reported * Combine enforcer executions
* Specify Error Prone JVM args with `.mvn/jvm.config` This allows avoiding fork mode for compilation, which: - might slightly reduce compilation time - guarantees that all compiler diagnostics are properly reported * Combine enforcer executions
Purpose
Specify JVM arguments needed for Error Prone using the
.mvn/jvm.config
file.Description
This allows avoiding fork mode for compilation, which:
See also #2320 (comment) and comments above.
Checklist
null
@since $next-version$
(
$next-version$
is a special placeholder which is automatically replaced during release)TestCase
)mvn clean verify javadoc:jar
passes without errors