You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my dependencies is a directory called like foo.zip.
Actually, it is coming from an artifact transform that unpacks a zip file into a directory called like the zip file, but that is not important for the issue.
The license report generator then tries to read that directory in com.github.jk1.license.reader.PomReader#findAndSlurpPom as zip file as it just sees the entry ends in .zip but does not check whether it is a file or directory.
This then fails with a FileNotFoundException which ends up in an UndeclaredThrowableException.
There should probably better be special handling for the case the entry is a directory and then traverse through the directory searching for the pom file instead.
The text was updated successfully, but these errors were encountered:
In my dependencies is a directory called like
foo.zip
.Actually, it is coming from an artifact transform that unpacks a zip file into a directory called like the zip file, but that is not important for the issue.
The license report generator then tries to read that directory in
com.github.jk1.license.reader.PomReader#findAndSlurpPom
as zip file as it just sees the entry ends in.zip
but does not check whether it is a file or directory.This then fails with a
FileNotFoundException
which ends up in anUndeclaredThrowableException
.There should probably better be special handling for the case the entry is a directory and then traverse through the directory searching for the pom file instead.
The text was updated successfully, but these errors were encountered: