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 #68

Merged
merged 2 commits into from
Jan 29, 2024
Merged

add configuration switch to disable fallback to root directory #68

merged 2 commits into from
Jan 29, 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 :

closes #66

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3761d67) 75.47% compared to head (8cdcba8) 75.70%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #68      +/-   ##
============================================
+ Coverage     75.47%   75.70%   +0.22%     
  Complexity       33       33              
============================================
  Files             6        6              
  Lines           106      107       +1     
  Branches          6        6              
============================================
+ Hits             80       81       +1     
  Misses           25       25              
  Partials          1        1              

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

@vincent-fuchs vincent-fuchs merged commit e83bbf5 into societe-generale:master Jan 29, 2024
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.

Skip analysis for projects without source files
3 participants