-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
[question] how to see the details of error #24
Comments
When a rule fails there should be a print out explaining the failure. All rules behave like that. |
unfortunately i can't share the project, could you share the tips of diagnosing? thx |
Can you reproduce with a smaller self-contained project? |
HI @aalmiray! Thanks for the plugin. I faced the same issue, though. Here is a project to reproduce: https://github.com/estroykov/enforcer-gradle-plugin-rule-is-not-specified-in-output |
@estroykov thank you for the link to the repository. However, its configuration does not match the reported issue and thus can't reproduce what @rr-nick-tan encountered. |
@aalmiray Do you mean I use other rule in my example? Ok, anyway, is there any way to have a name (or custom |
I believe every rule exposes a |
@aalmiray I did use |
@aalmiray I have the same issue, could you please take a look? I also noticed something suspicious with integration tests. Do all zeros look ok to you? |
I can see the custom message if the plugin is applied to the |
Ok and do you think it is an issue or not? I would like to apply it to |
hi @aalmiray
thanks for the gradle plugin, i come from maven enforcer plugin which is used in most of our projects.
i have the project enforcer setup with BanDuplicateClasses rule
the build failed but without any detail, i don't know which classes are duplicate.
The text was updated successfully, but these errors were encountered: