-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Empty report after update to 10.0.4 #410
Comments
We are having the same issue |
The only changes impactful changes to the plugin since 10.0.3 are:
See #187 |
My guess is due to the change in #404 we need to update the documentation. |
I inspected the #404 changes but I cannot see anything that could break my configuration. It only adds some new methods. |
What exactly needs to be changed? |
We're seeing a similar issue. Using Gradle 8.10.2 and Dependency Check 10.0.4, we get the followng report contents for the following config (note <?xml version="1.0" encoding="UTF-8"?><testsuites failures="0" name="dependency-check" tests="0"></testsuites> dependencyCheck {
analyzers {
assemblyEnabled = false
nodeAudit {
enabled = false
}
nodeEnabled = false
ossIndex {
username = project.properties.ossIndexUsername
password = project.properties.ossIndexPassword
}
retirejs {
enabled = false
}
}
nvd {
apiKey = project.properties.nvdApiKey
}
formats = ['CSV', 'JUNIT', 'HTML']
scanConfigurations = ['runtimeClasspath']
suppressionFile = project.file('config/dependency-check/suppressions.xml').absolutePath
} After rolling back to 10.0.3, the report contents are correctly populated (using the same config as above): <?xml version="1.0" encoding="UTF-8"?><testsuites failures="0" name="dependency-check" tests="177"><!-- redacted --></testsuites> Note Does the |
@Vampire do you have any thoughts on this? |
I would wonder if #404 is related, as OP does not even use any of the affected methods, neither the And the deprecation @jpicton sees is also unrelated, it is more a false-positive. In Groovy DSL the Even though you said #403 is very unlikely the problem, this would more have been my suspicion. So it seems something in In 9.1.0 this was hard-coded to only match if in In 9.2.0 you intended to also here use the improved regex matching for So the question might be which configuration in the hierarchy is causing this detection to trigger and an MCVE might be necessary to decide how or whether at all to fix this properly. As a work-around you could set Btw. the |
I can confirm that setting May be worth to note that we are heavily using |
Then it is probably appropriate and intended that |
I tried to print my configuration hierarchy and finally found the problem. It is configuration called The question is whether this configuration should be in |
Sounds to me like a spring boot plugin bug then, especially as that linked issue says that |
According to the related bug created in the Spring Boot project, the So, the correct solution is probably not using |
Hi,
we are using the dependency check Gradle plugin to scan our multi-module Kotlin project.
Everything worked as expected until version 10.0.3 (included) but after the update to version 10.0.4 the result of the
dependencyCheckAggregate
task is an empty XML report (the list of dependencies is always empty).The dependency check Gradle plugin is configured as follows:
When I comment out the
scanProjects
parameter the report contains a lot of dependencies but also dependencies of our testing modules which we want to exclude from the scan.Is the configuration somehow wrong or what happened between these 2 latest releases that can cause such a behavior? I went through the latest commits but nothing suspicious for me.
I tested this behavior with Gradle 8.8 and 8.10.1.
Thank you for any help,
Petr
The text was updated successfully, but these errors were encountered: