Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

AccessDeniedException fails build even though directory isn't actually included #137

Open
martinvisser opened this issue Jan 30, 2021 · 0 comments

Comments

@martinvisser
Copy link

During a mvn sonar:sonar run an AccessDeniedException is thrown and fails the execution. The filter configuration for detekt.sonar.kotlin.filters is set to the default: **/resources/**,**/build/**,**/target/**. This would scan each and every directory, but because there is a directory in the path which isn't accessible the execution fails.
I think it should just ignore such a directory, and perhaps just log a warning.

The directory is a data directory from postgres, which runs in a docker image and uses its own user and/or permissions.

The stacktrace can be found here: AccessDeniedException_stacktrace.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant