Skip to content

Fix dependency convergence error caused by commons-compress - #4050

Open
olperr1 wants to merge 1 commit into
mainfrom
dependency_convergence_fix
Open

Fix dependency convergence error caused by commons-compress#4050
olperr1 wants to merge 1 commit into
mainfrom
dependency_convergence_fix

Conversation

@olperr1

@olperr1 olperr1 commented Aug 19, 2026

Copy link
Copy Markdown
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?

Fixes #1747

What kind of change does this PR introduce?

Dependency stability

What is the current behavior?

When building the project, there's a dependency convergence error for "commons-codec" (the only divergence remaining).

What is the new behavior (if this is a feature change)?
No more dependency convergence error when building the project.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

Before this PR, the detected versions for commons-codec:commons-codec are:

  • 1.20.0, via org.apache.poi:poi
  • 1.19.0, via org.apache.commons:commons-compress, org.apache.commons:commons-csv
  • 1.15, via org.eclipse.rdf4j:rdf4j-rio-rdfxml and org.eclipse.rdf4j:rdf4j-repository-sail
  • 1.11, via org.eclipse.rdf4j:rdf4j-repository-sail
Full details
Dependency convergence error for commons-codec:commons-codec:jar:1.19.0. Paths to dependency are:
+-com.powsybl:powsybl-distribution-core:pom:7.4.0-SNAPSHOT
  +-com.powsybl:powsybl-commons:jar:7.4.0-SNAPSHOT:compile
    +-org.apache.commons:commons-compress:jar:1.28.0:compile
      +-commons-codec:commons-codec:jar:1.19.0:compile
and
+-com.powsybl:powsybl-distribution-core:pom:7.4.0-SNAPSHOT
  +-com.powsybl:powsybl-commons:jar:7.4.0-SNAPSHOT:compile
    +-org.apache.commons:commons-csv:jar:1.14.1:compile
      +-commons-codec:commons-codec:jar:1.19.0:compile
and
+-com.powsybl:powsybl-distribution-core:pom:7.4.0-SNAPSHOT
  +-com.powsybl:powsybl-entsoe-util:jar:7.4.0-SNAPSHOT:compile
    +-org.apache.poi:poi-ooxml:jar:5.5.1:compile
      +-org.apache.poi:poi:jar:5.5.1:compile
        +-commons-codec:commons-codec:jar:1.20.0:compile
and
+-com.powsybl:powsybl-distribution-core:pom:7.4.0-SNAPSHOT
  +-com.powsybl:powsybl-triple-store-impl-rdf4j:jar:7.4.0-SNAPSHOT:runtime
    +-org.eclipse.rdf4j:rdf4j-rio-rdfxml:jar:5.3.1:runtime
      +-org.eclipse.rdf4j:rdf4j-rio-api:jar:5.3.1:runtime
        +-commons-codec:commons-codec:jar:1.15:runtime
and
+-com.powsybl:powsybl-distribution-core:pom:7.4.0-SNAPSHOT
  +-com.powsybl:powsybl-triple-store-impl-rdf4j:jar:7.4.0-SNAPSHOT:runtime
    +-org.eclipse.rdf4j:rdf4j-repository-sail:jar:5.3.1:runtime
      +-org.eclipse.rdf4j:rdf4j-http-client:jar:5.3.1:runtime
        +-org.apache.httpcomponents:httpclient:jar:4.5.14:runtime
          +-commons-codec:commons-codec:jar:1.11:runtime
and
+-com.powsybl:powsybl-distribution-core:pom:7.4.0-SNAPSHOT
  +-com.powsybl:powsybl-triple-store-impl-rdf4j:jar:7.4.0-SNAPSHOT:runtime
    +-org.eclipse.rdf4j:rdf4j-repository-sail:jar:5.3.1:runtime
      +-org.eclipse.rdf4j:rdf4j-http-client:jar:5.3.1:runtime
        +-commons-codec:commons-codec:jar:1.15:runtime

The version that was copied in the distribution directory (distribution-core/target/powsybl/share/java/) was the 1.19.0.
This PR sets the version to 1.20.0.

Important

With this PR, the whole release train builds and all the unit tests succeed.

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
@olperr1 olperr1 self-assigned this Aug 19, 2026
@olperr1 olperr1 changed the title Fix dependency convergence caused by commons-compress Fix dependency convergence error caused by commons-compress Aug 19, 2026
@sonarqubecloud

Copy link
Copy Markdown

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.

Dependency convergence errors

1 participant