Skip to content

chore(QTDI-2184): replace hardcoded commons-lang3 version with property reference in API test#1163

Open
lxia-talend wants to merge 1 commit intomasterfrom
lxia/QTDI-2184_fix-hardcode-for-commons-lang3jar
Open

chore(QTDI-2184): replace hardcoded commons-lang3 version with property reference in API test#1163
lxia-talend wants to merge 1 commit intomasterfrom
lxia/QTDI-2184_fix-hardcode-for-commons-lang3jar

Conversation

@lxia-talend
Copy link
Contributor

@lxia-talend lxia-talend commented Feb 2, 2026

This PR replaces a hardcoded version string with a Maven property reference in an API test configuration to improve maintainability and consistency across the project.

Changes:

Replaced hardcoded commons-lang3 version 3.18.0 with property placeholder @commons-lang3.version@ in the API test JSON file
Configured Maven resource filtering for the src/it directory to enable property substitution during build

@lxia-talend lxia-talend requested a review from Copilot February 2, 2026 09:27
Copy link

Copilot AI left a comment

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 replaces a hardcoded version string with a Maven property reference in an API test configuration to improve maintainability and consistency across the project.

Changes:

  • Replaced hardcoded commons-lang3 version 3.18.0 with property placeholder @commons-lang3.version@ in the API test JSON file
  • Configured Maven resource filtering for the src/it directory to enable property substitution during build

Reviewed changes

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

File Description
tck_component_dependency_api_test.json Updated API test path to use property placeholder instead of hardcoded version
pom.xml Added resource filtering configuration to enable property substitution in integration test files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +150 to +155
<resources>
<resource>
<directory>src/it</directory>
<filtering>true</filtering>
</resource>
</resources>
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

The resource configuration appears to be duplicating or overriding the default resource directory (src/main/resources). If this is intended to add src/it as an additional resource directory, the configuration should include both the default src/main/resources and the new src/it directory to avoid losing default resources. Consider verifying that this configuration doesn't inadvertently exclude the standard resource directory.

Copilot uses AI. Check for mistakes.
@thboileau thboileau force-pushed the lxia/QTDI-2184_fix-hardcode-for-commons-lang3jar branch 2 times, most recently from ab63e4b to d7c9c6e Compare February 2, 2026 16:26
@sonar-eks
Copy link

sonar-eks bot commented Feb 2, 2026

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.

1 participant