Skip to content

Updated pom.xml by Safer #38

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

safer-bot
Copy link

This PR was automatically created by Safer, an open-source tool that updates vulnerable dependencies with compatible and more secure versions.

Analyzed commit: d5d7145
File updated: pom.xml
Vulnerabilities reduced: 33 -> 4

Let us know if you have questions.

Thanks,
Safer Bot

@safer-bot
Copy link
Author

See details in issue #39

@wumpus wumpus requested a review from sebastian-nagel July 16, 2025 05:00
@wumpus
Copy link
Member

wumpus commented Jul 16, 2025

Looking at just the first one, Safer seems to be poorly coded... we already are using slf4j-api 2.0.17

Copy link
Contributor

@sebastian-nagel sebastian-nagel left a comment

Choose a reason for hiding this comment

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

Hi @safer-bot, this PR needs to thoroughly reworked. Please,

  • keep the properties as is and modify the properties
  • ensure that the versions you want to upgrade to are released on Maven Central
  • build and run the unit tests on your local instance before opening a PR: mvn verify

Finally, we appreciate your efforts to evade security issues by keeping dependencies up-to-date. However, since safer-bot apparently is at an early development stage, please put a human into the loop before opening PRs on other repositories. Thanks!

@@ -113,36 +113,36 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep using the property.

</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j-api.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep using the property.

The property helps to keep slf4j-api and slf4j-simple in sync.

</dependency>

<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Dito.

</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Dito.

</dependency>

<dependency>
<groupId>com.github.crawler-commons</groupId>
<artifactId>crawler-commons</artifactId>
<version>${crawler-commons.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Dito.

</dependency>

<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Dito.

@@ -162,7 +162,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you elaborate why you want to downgrade from the recent 5.12.2 (April 2025) to 2.31.43 which does not even exist and does not compile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants