-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
FileSystemNotFoundException in detekt 1.7.0 when using --config-resource #2503
Comments
josephlbarnett
added a commit
to josephlbarnett/detekt
that referenced
this issue
Mar 24, 2020
When getting resources from the classpath, the ZipFileSystem needs to be initialized manually. Fixes detekt#2503
https://stackoverflow.com/questions/25032716/getting-filesystemnotfoundexception-from-zipfilesystemprovider-when-creating-a-p appears to show a solution to this, created a PR for a potential fix |
arturbosch
added a commit
that referenced
this issue
Mar 24, 2020
josephlbarnett
added a commit
to josephlbarnett/detekt
that referenced
this issue
Mar 24, 2020
When getting resources from the classpath, the ZipFileSystem needs to be initialized manually. Fixes detekt#2503
josephlbarnett
added a commit
to josephlbarnett/detekt
that referenced
this issue
Mar 24, 2020
When getting resources from the classpath, the ZipFileSystem needs to be initialized manually. Fixes detekt#2503
josephlbarnett
added a commit
to josephlbarnett/detekt
that referenced
this issue
Mar 24, 2020
When getting resources from the classpath, the ZipFileSystem needs to be initialized manually. Fixes detekt#2503
josephlbarnett
added a commit
to josephlbarnett/detekt
that referenced
this issue
Mar 24, 2020
When getting resources from the classpath, the ZipFileSystem needs to be initialized manually. Fixes detekt#2503
arturbosch
added a commit
that referenced
this issue
Mar 24, 2020
arturbosch
pushed a commit
that referenced
this issue
Mar 24, 2020
When getting resources from the classpath, the ZipFileSystem needs to be initialized manually. Fixes #2503
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
the config from a jar in the classpath should be used
Observed Behavior
Steps to Reproduce
-classpath
of the detekt clijava -classpath .... io.gitlab.arturbosch.detekt.cli.Main --input /path/to/src/main/kotlin --config-resource detekt-config.yml
Context
We include our detekt-config in a jar that we pull in via maven and run detekt via antrun plugin,b ut the above cli invokation shows the same issue. Works fine in 1.6.0 but not in 1.7.0.
Your Environment
https://app.circleci.com/jobs/github/trib3/leakycauldron/849 <-- failed build
https://github.com/trib3/leakycauldron/blob/master/parent-pom/pom.xml#L1302-L1344 <-- maven config
The text was updated successfully, but these errors were encountered: