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.
During a
mvn sonar:sonar
run an AccessDeniedException is thrown and fails the execution. The filter configuration fordetekt.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