Skip to content
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
2 changes: 1 addition & 1 deletion xmppserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify DBUnit 3.1.0 exists and check for security advisories

# Check Maven Central for version 3.1.0
echo "Checking Maven Central for org.dbunit:dbunit:3.1.0..."
curl -s "https://search.maven.org/solrsearch/select?q=g:org.dbunit+AND+a:dbunit+AND+v:3.1.0" | jq '.response.numFound'

# Check for security advisories
echo "Checking for security advisories..."
gh api graphql -f query='
{
  securityVulnerabilities(first: 10, ecosystem: MAVEN, package: "org.dbunit:dbunit") {
    nodes {
      advisory {
        summary
        severity
        publishedAt
      }
      vulnerableVersionRange
      firstPatchedVersion {
        identifier
      }
    }
  }
}'

Repository: igniterealtime/Openfire

Length of output: 208


🏁 Script executed:

#!/bin/bash
# Find available versions of org.dbunit:dbunit on Maven Central
curl -s "https://search.maven.org/solrsearch/select?q=g:org.dbunit+AND+a:dbunit&rows=100&core=gav" | jq '.response.docs[] | {version: .v}' | head -20

Repository: igniterealtime/Openfire

Length of output: 240


Version 3.1.0 of org.dbunit:dbunit does not exist on Maven Central.

The build will fail because Maven cannot resolve version 3.1.0. The latest available version on Maven Central is 3.0.0. Verify with dependabot whether this version number is correct or if there's a typo. If the intent is to upgrade beyond 3.0.0, confirm that a newer version actually exists in a public repository.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@xmppserver/pom.xml` at line 569, The pom declares org.dbunit:dbunit with
<version>3.1.0</version>, but that artifact/version isn’t available on Maven
Central; change the dependency version in the pom for artifactId dbunit (groupId
org.dbunit) to a valid published version (e.g., 3.0.0) or to the correct
intended version, verify via Dependabot or Maven Central, and then run a Maven
update (mvn -U) / build to confirm resolution; if a private repo is required,
add the repository entry instead of using a non-existent public version.

<scope>test</scope>
</dependency>

Expand Down
Loading