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 pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</developers>

<properties>
<powsybl-ws-dependencies.version>2.30.0</powsybl-ws-dependencies.version>
<powsybl-ws-dependencies.version>2.31.0</powsybl-ws-dependencies.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
# Verify whether the BOM version exists in Maven Central (read-only checks)
set -euo pipefail

echo "Checking Maven Central for com.powsybl:powsybl-ws-dependencies:2.31.0 ..."
curl -fsSL "https://search.maven.org/solrsearch/select?q=g:%22com.powsybl%22+AND+a:%22powsybl-ws-dependencies%22+AND+v:%222.31.0%22&rows=20&wt=json" | jq '.response.numFound,.response.docs[]?'

echo "Checking direct POM URL in Maven Central ..."
curl -I -s "https://repo1.maven.org/maven2/com/powsybl/powsybl-ws-dependencies/2.31.0/powsybl-ws-dependencies-2.31.0.pom" | head -n 1

Repository: gridsuite/network-modification

Length of output: 206


🏁 Script executed:

#!/bin/bash
# Check if the suggested version 2.30.0 exists in Maven Central
echo "Checking Maven Central for com.powsybl:powsybl-ws-dependencies:2.30.0 ..."
curl -fsSL "https://search.maven.org/solrsearch/select?q=g:%22com.powsybl%22+AND+a:%22powsybl-ws-dependencies%22+AND+v:%222.30.0%22&rows=5&wt=json" | jq '.response.numFound'

echo ""
echo "Checking available versions of powsybl-ws-dependencies ..."
curl -fsSL "https://search.maven.org/solrsearch/select?q=g:%22com.powsybl%22+AND+a:%22powsybl-ws-dependencies%22&rows=50&wt=json" | jq '.response.docs[] | {v: .v}' | head -20

Repository: gridsuite/network-modification

Length of output: 225


🏁 Script executed:

#!/bin/bash
# Check pom.xml for repository configurations that might contain 2.31.0
cd "$(git rev-parse --show-toplevel)" 2>/dev/null || cd .
echo "Repository declarations in pom.xml:"
rg -A 5 '<repositories>' pom.xml | head -30

echo ""
echo "Checking for any references to 2.31.0 in the repository:"
rg '2\.31\.0' --type xml

Repository: gridsuite/network-modification

Length of output: 257


🏁 Script executed:

#!/bin/bash
# Broader search for any powsybl-ws-dependencies versions
echo "Searching Maven Central for all powsybl-ws-dependencies artifacts:"
curl -fsSL "https://search.maven.org/solrsearch/select?q=a:%22powsybl-ws-dependencies%22&rows=100&wt=json" | jq '.response | {numFound, docs: .docs[] | {g, a, v}}'

echo ""
echo "Check if parent pom exists that might define repositories:"
find . -name "pom.xml" -type f | head -5

echo ""
echo "Check parent declaration in pom.xml:"
rg -B 2 -A 2 '<parent>' pom.xml | head -15

Repository: gridsuite/network-modification

Length of output: 499


🌐 Web query:

powsybl-ws-dependencies Maven artifact repository

💡 Result:

The powsybl-ws-dependencies Maven artifact is hosted in the Maven Central repository. It is a BOM (Bill of Materials) POM providing dependency management for PowSyBl Web Services related artifacts. Group ID: com.powsybl Artifact ID: powsybl-ws-dependencies Latest version as of available data: 2.22.0 (released 2025-06-26) To use it in Maven, import in dependencyManagement: com.powsybl powsybl-ws-dependencies 2.22.0 pom import Source code: https://github.com/powsybl/powsybl-ws-dependencies/tree/main/ Homepage: https://www.powsybl.org/

Citations:


🏁 Script executed:

#!/bin/bash
# Get the versions page from Maven Repository to see what's actually available
echo "Fetching mvnrepository page for powsybl-ws-dependencies versions..."
curl -fsSL "https://mvnrepository.com/artifact/com.powsybl/powsybl-ws-dependencies" | grep -oP 'version">[^<]+' | head -30

Repository: gridsuite/network-modification

Length of output: 207


🌐 Web query:

site:mvnrepository.com powsybl-ws-dependencies all versions 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31

💡 Result:

powsybl-ws-dependencies is a Maven BOM (Bill of Materials) artifact from the PowSyBl project (https://www.powsybl.org), groupId com.powsybl, used to manage consistent versions of PowSyBl web services dependencies. It declares versions for various PowSyBl modules like powsybl-cgmes-model-alternatives, powsybl-math, powsybl-scripting, and others in projects like GridSuite. Specific versions 2.22 to 2.31 are not explicitly listed in search results. The latest referenced release is Jan 19, 2026 (from powsybl-math BOMs page). To view all available versions, visit https://mvnrepository.com/artifact/com.powsybl/powsybl-ws-dependencies. No detailed dependency lists per version found in snippets; check individual POMs on Maven Central or PowSyBl GitHub repositories.

Citations:


🏁 Script executed:

#!/bin/bash
# Query Maven Central API directly for all versions
echo "Querying Maven Central for all versions of powsybl-ws-dependencies:"
curl -fsSL "https://repo1.maven.org/maven2/com/powsybl/powsybl-ws-dependencies/maven-metadata.xml" | grep -oP '<version>\K[^<]+' | sort -V

echo ""
echo "Verify specific versions exist:"
for ver in 2.22.0 2.25.0 2.26.0 2.27.0 2.28.0 2.29.0 2.30.0 2.31.0; do
  status=$(curl -I -s "https://repo1.maven.org/maven2/com/powsybl/powsybl-ws-dependencies/$ver/powsybl-ws-dependencies-$ver.pom" | head -n 1 | awk '{print $2}')
  echo "Version $ver: HTTP $status"
done

Repository: gridsuite/network-modification

Length of output: 614


Build is blocked by an unresolvable BOM version.

2.31.0 for com.powsybl:powsybl-ws-dependencies does not exist in Maven Central, breaking the BOM import and causing all downstream "missing dependency version" errors. Switch to the latest available version 2.30.0 or verify the correct version to use.

🔧 Proposed fix
-        <powsybl-ws-dependencies.version>2.31.0</powsybl-ws-dependencies.version>
+        <powsybl-ws-dependencies.version>2.30.0</powsybl-ws-dependencies.version>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pom.xml` at line 45, The BOM version property powsybl-ws-dependencies.version
is set to a non-existent 2.31.0 and blocks the build; update the property
powsybl-ws-dependencies.version to the latest available release (e.g., 2.30.0)
in the pom so the com.powsybl:powsybl-ws-dependencies BOM can be resolved, or
verify and set the correct published version if different.

<gridsuite-filter.version>1.21.0</gridsuite-filter.version>
<swagger-annotations.version>2.2.36</swagger-annotations.version>
<sonar.organization>gridsuite</sonar.organization>
Expand Down
Loading