-
Notifications
You must be signed in to change notification settings - Fork 460
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
Non reproducible index serialization #1642
Comments
I can't reproduce the problem with maven 3.9.1
|
The problem seems to come from the order in which formatters are stored in the list to compute the checksum. I have two formatters and sometime the order is |
gnodet
added a commit
to gnodet/spotless
that referenced
this issue
Mar 28, 2023
nedtwigg
added a commit
that referenced
this issue
Apr 5, 2023
Fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was experimenting with switching Apache Camel to use spotless instead of impsort/formatter plugins.
While doing so, and experimenting with the performance cost of running the spotless plugin, I realised the plugin was running again on subsequent builds.
Here's the maven output I end up with in roughly 20 out of 500 modules:
The configuration obviously does not change, as I run the same maven command multiple times in a raw.
I thus suspect a non-reproductible serialisation issue in the
Formatter
.Environment:
Not sure why, but the problem is much more easily reproducible using maven daemon, but it also happens with stock maven 3.9.0 as seen above.
Steps to reproduce:
the last command must be run continuously until the line
Index file corresponds to a different configuration of the plugin
appears.The text was updated successfully, but these errors were encountered: