Skip to content
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

[MPOM-313] execute checkstyle in early phase of the build #55

Merged
merged 1 commit into from
Apr 3, 2022

Conversation

olamy
Copy link
Member

@olamy olamy commented Feb 27, 2022

No description provided.

@@ -1170,6 +1170,7 @@ under the License.
<executions>
<execution>
<id>checkstyle-check</id>
<phase>validate</phase>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also means that autogenerated code won't be checked?

Copy link
Member Author

@olamy olamy Feb 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct so maybe generate-sources phase.
but do we really care about checkstyle generated code?
in this case we need to ask the plugin authors to change the style of the generated code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's just frustrating to run a long build and get a missing space at the end...
just forget a space in surefire-its it means you run everything for at least 1h (with a beefy laptop) and the build failure 😩

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct so maybe generate-sources phase. but do we really care about checkstyle generated code? in this case we need to ask the plugin authors to change the style of the generated code?

Сorrect, we don't care, I guess.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's just frustrating to run a long build and get a missing space at the end... just forget a space in surefire-its it means you run everything for at least 1h (with a beefy laptop) and the build failure 😩

Agree

@slawekjaranowski
Copy link
Member

Simple change - can save some of time during development.
Are there any objection before process it?

@olamy
Copy link
Member Author

olamy commented Apr 2, 2022

Simple change - can save some of time during development. Are there any objection before process it?

not from me 🤣

@slawekjaranowski
Copy link
Member

@slawekjaranowski slawekjaranowski changed the title execute checkstyle in early phase of the build [MPOM-313] execute checkstyle in early phase of the build Apr 2, 2022
@slawekjaranowski slawekjaranowski merged commit 9a93dfd into master Apr 3, 2022
@slawekjaranowski slawekjaranowski deleted the checkstyle-validate-phase branch April 3, 2022 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants