Skip to content

MLE-22657 Excluding beanutils from example project #1786

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

Merged
merged 1 commit into from
Jul 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ dependencies {
api 'org.dom4j:dom4j:2.1.4'
api 'com.google.code.gson:gson:2.10.1'
api 'net.sourceforge.htmlcleaner:htmlcleaner:2.29'
api 'com.opencsv:opencsv:5.11.1'
api ('com.opencsv:opencsv:5.11.2') {
// Excluding this due to a security vulnerability, and the test for the example that uses this library
// passes without this on the classpath.
exclude module: "commons-beanutils"
Copy link
Preview

Copilot AI Jul 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For clarity and to avoid accidental exclusions, explicitly specify both group and module in the exclude clause, e.g., exclude group: 'commons-beanutils', module: 'commons-beanutils'.

Suggested change
exclude module: "commons-beanutils"
exclude group: "commons-beanutils", module: "commons-beanutils"

Copilot uses AI. Check for mistakes.

}
api 'org.apache.commons:commons-lang3:3.17.0'
}