-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36bcac9
commit 85fca3e
Showing
1 changed file
with
0 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85fca3e
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.
@reda-alaoui
According to this comment on the google-java-format GitHub site, the
--add-exports
flags are still needed when using google-java-format as a library.See also this #86 (comment)
85fca3e
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.
@reda-alaoui
To be sure, I installed JDK 17 and Maven 3.8.5 to do a test with the latest version of git-code-format-maven-plugin (version 3.4) which uses the latest version of google-java-format (version 1.15.0).
Without the
.mvn/jvm.config
file with the--add-exports
flags the commit fails:With the
.mvn/jvm.config
file with the--add-exports
flags the commit succeeds:So it would be best to revert the above documentation change for the time being, as you already suggested.