Conversation
Signed-off-by: Abdelsalem <abdelsalem.hedhili@rte-france.com>
📝 WalkthroughWalkthroughUpdated the Maven property Changes
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@pom.xml`:
- 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.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
|
|
||
| <properties> | ||
| <powsybl-ws-dependencies.version>2.30.0</powsybl-ws-dependencies.version> | ||
| <powsybl-ws-dependencies.version>2.31.0</powsybl-ws-dependencies.version> |
There was a problem hiding this comment.
🧩 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 1Repository: 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 -20Repository: 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 xmlRepository: 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 -15Repository: 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:
- 1: https://mvnrepository.com/artifact/com.powsybl/powsybl-ws-dependencies/versions
- 2: https://central.sonatype.com/artifact/com.powsybl/powsybl-ws-dependencies
- 3: https://mvnrepository.com/artifact/com.powsybl/powsybl-ws-dependencies/2.10.0
- 4: https://central.sonatype.com/artifact/com.powsybl/powsybl-ws-dependencies/2.9.0
- 5: https://mvnrepository.com/artifact/com.powsybl/powsybl-ws-dependencies/2.15.0
🏁 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 -30Repository: 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:
- 1: https://mvnrepository.com/artifact/com.powsybl/powsybl-math/boms
- 2: https://mvnrepository.com/artifact/com.powsybl/powsybl-scripting/boms
- 3: https://mvnrepository.com/artifact/com.powsybl/powsybl-cgmes-model-alternatives/6.5.0-RC1
🏁 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"
doneRepository: 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.
No description provided.