Comments (6)
@jeremylong unfortunately the suggested fix didn't work, the error still happens.
Please have a look at the bug described here "https://issues.apache.org/jira/browse/COMPRESS-659".
The affected version is 1.26.0 (it is the version used by dependencyCheck from the version 9.0.10)
An update to version Commons Compress 1.26.1 would probably fix the problem.
from dependency-check-gradle.
fixed with jeremylong/DependencyCheck#6585
from dependency-check-gradle.
It looks like it's related to:
"Commons-compress 1.26.0 contains changes to make use of commons-codec,
rather than its own copy of files, but I see that the POM marks
commons-codec as optional."
-> https://www.mail-archive.com/[email protected]/msg74958.html
from dependency-check-gradle.
I wish I would have re-read this issue an hour ago... Temporary fix is likely just updating the current workaround:
/buildSrc/build.gradle
dependencies {
constraints {
// org.owasp.dependencycheck needs at least this version of jackson. Other plugins pull in older versions..
add("implementation", "com.fasterxml.jackson:jackson-bom:2.16.1")
// org.owasp.dependencycheck needs these versions. Other plugins pull in older versions..
add("implementation", "org.apache.commons:commons-lang3:3.14.0")
add("implementation", "org.apache.commons:commons-text:1.11.0")
}
compileOnly 'commons-codec:commons-codec:1.16.1'
}
from dependency-check-gradle.
Did you notice the typo I made in the suggestion?
/buildSrc/build.gradle
dependencies {
constraints {
// org.owasp.dependencycheck needs at least this version of jackson. Other plugins pull in older versions..
add("implementation", "com.fasterxml.jackson:jackson-bom:2.16.1")
// org.owasp.dependencycheck needs these versions. Other plugins pull in older versions..
add("implementation", "org.apache.commons:commons-lang3:3.14.0")
add("implementation", "org.apache.commons:commons-text:1.11.0")
}
compileOnly 'commons-codec:commons-codec:1.26.1'
}
from dependency-check-gradle.
@jeremylong thank you for your answer!
Im not sure whar the correct correction should be :) The last published version of commons-codec is, like suggested in the first fix, the v1.16.1 (https://mvnrepository.com/artifact/commons-codec/commons-codec)
If you mean, we should force the gradle resolution of commons-compress to v1.26.1 - it's allready done in our projects and the error remains the same..
from dependency-check-gradle.
Related Issues (20)
- Dependency report configuration (size) HOT 2
- Default scanset omits pnpm-lock.yaml
- Support for vulnerability analysis of gradle version catalog HOT 1
- default data directory in v9
- Database Compability Issue when using Spring Boot 3.2.0
- Sources link on GPP doesn't point to a URL HOT 2
- How to configure the NVD API key? HOT 1
- Redacting the HTML Report HOT 1
- Can props from build.gradle.kts be overwritten with -D or -P parameter? HOT 3
- Lots of NVD API request failures HOT 1
- Error when trying to build image with jib. HOT 3
- Build never finishes with AGP 8.3 HOT 1
- Possibly conflicting information regarding gradle subprojects HOT 6
- Gradle Version Used in 9.1.0 HOT 6
- Please check contains "test" for `skipTestGroups`, not starts with HOT 5
- Plugin make project build fail HOT 5
- Add NVD API key as a parameter HOT 1
- Kotlin 2.0 and test groups problem HOT 1
- Malformed JSON report HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependency-check-gradle.