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

Batch scalastyle checks across all modules upfront #3433

Merged
merged 9 commits into from
Sep 11, 2021

Conversation

gerashegalov
Copy link
Collaborator

@gerashegalov gerashegalov commented Sep 10, 2021

  • replaces scalastyle-maven-plugin with an ant task, uses compact wildcard paths so we don't need to hardcode evolving source code layout
  • separates build info generation into pluginManagement to be inherited by submodules while limiting scalastyle task to the parent pom only
  • checks all modules in one go upfront so the developers don't have to wait for failures incurred later after lengthy scala builds
  • fixes codestyle violations accummulated while the check was incomplete

Fixes #3388

Signed-off-by: Gera Shegalov gera@apache.org

- replaces scalastyle-maven-plugin with an ant task, uses compact
  wildcard paths so we don't need to hardcode evolving source
  code layout
- checks all modules in one go upfront so the developers don't have to
  wait for failures incurred later after lengthy scala builds
- fixes codestyle violations accummulated while the check was incomplete

Fixes NVIDIA#3388

Signed-off-by: Gera Shegalov <gera@apache.org>
@gerashegalov gerashegalov added the build Related to CI / CD or cleanly building label Sep 10, 2021
@gerashegalov gerashegalov added this to the Aug 30 - Sept 10 milestone Sep 10, 2021
@gerashegalov gerashegalov self-assigned this Sep 10, 2021
@gerashegalov gerashegalov changed the title Check scalastyle across all modules upfront Batch scalastyle across all modules upfront Sep 10, 2021
@gerashegalov gerashegalov changed the title Batch scalastyle across all modules upfront Batch scalastyle checks across all modules upfront Sep 10, 2021
jlowe
jlowe previously approved these changes Sep 10, 2021
Copy link
Member

@jlowe jlowe left a comment

Choose a reason for hiding this comment

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

Small nit but otherwise lgtm. Is this going to conflict with #3411?

@gerashegalov
Copy link
Collaborator Author

build

jlowe
jlowe previously approved these changes Sep 10, 2021
@gerashegalov
Copy link
Collaborator Author

looking into 311db failure

@gerashegalov
Copy link
Collaborator Author

build

@gerashegalov gerashegalov merged commit 906af85 into NVIDIA:branch-21.10 Sep 11, 2021
@gerashegalov gerashegalov deleted the scalaStyleBatch branch September 11, 2021 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] maven scalastyle checks don't appear to work for alterneate source directories
3 participants