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

Checkstyle can't be run from submodules #1086

Closed
artur-ciocanu opened this issue Jul 22, 2024 · 0 comments · Fixed by #1087
Closed

Checkstyle can't be run from submodules #1086

artur-ciocanu opened this issue Jul 22, 2024 · 0 comments · Fixed by #1087
Labels
kind/bug Something isn't working

Comments

@artur-ciocanu
Copy link
Contributor

Expected Behavior

We should be able to run any code check from Java SDK submodules

Actual Behavior

Currently when going to sub-folder and trying to run for example: ../mvnw validate we will get an error like:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0:check (validate) on project dapr-sdk-actors: Failed during checkstyle configuration: cannot initialize module RegexpHeader - illegal value '.java_header' for property 'headerFile': com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: .java_header -> [Help 1]

This is not very developer friendly

Steps to Reproduce the Problem

Follow these steps:

  1. Go to Java SDK main folder
  2. Execute cd sdk-actors
  3. Run ../mvnw validate

Release Note

RELEASE NOTE:

@artur-ciocanu artur-ciocanu added the kind/bug Something isn't working label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant