Skip to content

chore(deps): declare httpclient5 and commons-io where they are actually used - #7661

Merged
Romuald Lemesle (RomuDeuxfois) merged 1 commit into
mainfrom
chore/declare-deps-where-used
Aug 28, 2026
Merged

chore(deps): declare httpclient5 and commons-io where they are actually used#7661
Romuald Lemesle (RomuDeuxfois) merged 1 commit into
mainfrom
chore/declare-deps-where-used

Conversation

@RomuDeuxfois

@RomuDeuxfois Romuald Lemesle (RomuDeuxfois) commented Aug 28, 2026

Copy link
Copy Markdown
Member

Proposed changes

openaev-framework declares both libraries and imports neither — 0 occurrences, imports and qualified names, main and test. openaev-model imports HttpClient 5 in OpenSearchDriver and declares nothing, so it only compiles because the OpenSearch client happens to drag the library along.

…ly used

openaev-framework declared both and imports neither. openaev-model imports
HttpClient 5 in OpenSearchDriver and declares nothing, so it only compiles
because the OpenSearch client happens to drag the library along.

Since framework depends on model and not the reverse, the framework declaration
was never what put the library on model's classpath: it was dead either way.

Resolution is unchanged, httpclient5 5.6.4 and commons-io 2.22.0.
Copilot AI lite review requested due to automatic review settings August 28, 2026 10:21
@github-actions

Copy link
Copy Markdown
Contributor

📖 Documentation check — ✅ Passed

No functional source changes detected.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to align Maven dependency declarations with actual module usage by removing unused declarations from openaev-framework and explicitly declaring httpclient5 in openaev-model (where OpenSearchDriver imports Apache HttpClient 5 APIs).

Changes:

  • Remove httpclient5 and commons-io dependencies from openaev-framework (no usage there).
  • Add httpclient5 to openaev-model (intended to avoid relying on transitive pulls from the OpenSearch client).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
openaev-model/pom.xml Adds httpclient5 declaration (currently added under dependencyManagement).
openaev-framework/pom.xml Removes unused httpclient5 and commons-io dependencies.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread openaev-model/pom.xml
Comment on lines +24 to +28
<!-- Used directly by OpenSearchDriver; only reached us through the OpenSearch client. -->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${httpclient5.version}</version>
@RomuDeuxfois
Romuald Lemesle (RomuDeuxfois) merged commit e1ce5bc into main Aug 28, 2026
49 checks passed
@RomuDeuxfois
Romuald Lemesle (RomuDeuxfois) deleted the chore/declare-deps-where-used branch August 28, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team Item from the Filigran team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants