Skip to content

[FLINK-9323][build] Properly organize checkstyle-plugin configuration#5972

Closed
zentol wants to merge 2 commits intoapache:masterfrom
zentol:9323
Closed

[FLINK-9323][build] Properly organize checkstyle-plugin configuration#5972
zentol wants to merge 2 commits intoapache:masterfrom
zentol:9323

Conversation

@zentol
Copy link
Copy Markdown
Contributor

@zentol zentol commented May 9, 2018

What is the purpose of the change

This PR reorganizes the checkstyle-plugin configuration to not be duplicated in 4 modules. Instead the configuration was moved into the root pluginManagement section. The child poms were adjusted to only override settings if required.

Brief change log

  • move checkstyle configuration into root pluginManagement section
  • reduce child pom configuration to essential entry

Verifying this change

  • run mvn help:effective-pom to verify that the effective poms have not changed, and that the suppression file is properly overridden

@StephanEwen
Copy link
Copy Markdown
Contributor

StephanEwen commented May 9, 2018

+1 to the cleanup, but I think this might be breaking relative paths of the suppression files, hence causing the build to fail. Probably need to make the paths relative to "project root dir" or some "highest project dir" variable.

@zentol
Copy link
Copy Markdown
Contributor Author

zentol commented May 9, 2018

the build failed because of a copy&paste error, flink-core and flink-optimizer are using the flink-runtime suppressions file...

zentol added a commit to zentol/flink that referenced this pull request May 10, 2018
zentol added a commit to zentol/flink that referenced this pull request May 10, 2018
@asfgit asfgit closed this in 3495b4d May 10, 2018
@zentol zentol deleted the 9323 branch May 10, 2018 11:56
sampathBhat pushed a commit to sampathBhat/flink that referenced this pull request Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants