-
Notifications
You must be signed in to change notification settings - Fork 2
Check Spotless formatting by default build #45
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
Check Spotless formatting by default build #45
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.
Why is this not the default?
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 done in parent pom.
please look at Maven parent.
If it was active by default, the GH action builds of the mentioned projects should have failed, right? Should I change the PR to set this environment variable or perhaps to activate the Maven profile? |
So to rephrase, yes it should be done on parent in similar way that we have in maven parent pom for apache org, where we agreed that always format code, not only check. |
4728227
to
0e3e406
Compare
Detected in the course of support-and-care/maven-support-and-care#77.
0e3e406
to
2381261
Compare
I switched to setting the CI environment variable. |
env: | ||
CI: true | ||
|
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.
it is a default value ... should not be overridden
Builds should either apply spotless or check for it depending on whether it is running in CI or not. Detected in the course of support-and-care/maven-support-and-care#77 and codehaus-plexus/.github#45
Replaced by codehaus-plexus/plexus-pom#344 |
Builds should either apply spotless or check for it depending on whether it is running in CI or not. Detected in the course of support-and-care/maven-support-and-care#77 and codehaus-plexus/.github#45
Detected in the course of support-and-care/maven-support-and-care#77.
This PR should not be merged before