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

add configuration switch to disable fallback to root directory (3.x) #87

Merged
merged 1 commit into from
Jan 28, 2024
Merged

add configuration switch to disable fallback to root directory (3.x) #87

merged 1 commit into from
Jan 28, 2024

Conversation

purnhar
Copy link
Contributor

@purnhar purnhar commented Jan 28, 2024

Summary

Skip analysis for projects without source files

Details

If no source files are found in a module of a multi module project, no analysis should be done (e.g. in modules which just assemble war files or docker images). Therefor a the configuration property fallbackToRootDirectory is added to disable the current default behavior.

Context

Feature is needed in bigger Maven multi module projects.

Checklist:

  • I've added tests for my code.
  • Documentation has been updated accordingly to this PR

Related issue :

societe-generale/arch-unit-maven-plugin#66

@purnhar purnhar changed the title add configuration switch to disable fallback to root directory add configuration switch to disable fallback to root directory (3.x) Jan 28, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (a137c79) 80.12% compared to head (199d73a) 79.33%.

Files Patch % Lines
...ale/commons/plugin/service/RuleInvokerService.java 22.22% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                3.x      #87      +/-   ##
============================================
- Coverage     80.12%   79.33%   -0.79%     
- Complexity      146      148       +2     
============================================
  Files            33       33              
  Lines           654      663       +9     
  Branches         64       64              
============================================
+ Hits            524      526       +2     
- Misses          104      111       +7     
  Partials         26       26              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vincent-fuchs vincent-fuchs merged commit bcbbfef into societe-generale:3.x Jan 28, 2024
1 of 2 checks passed
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.

3 participants