Skip to content

fix: update examples to consume independent shenyu-client-java artifacts #6424

Merged
Aias00 merged 4 commits into
apache:masterfrom
lll-peanut:fix/update-examples-client-java
Jul 21, 2026
Merged

fix: update examples to consume independent shenyu-client-java artifacts #6424
Aias00 merged 4 commits into
apache:masterfrom
lll-peanut:fix/update-examples-client-java

Conversation

@lll-peanut

@lll-peanut lll-peanut commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Closes #6371

Replace all ${project.version} references for shenyu-client-* and shenyu-spring-boot-starter-client-* dependencies with centralized ${shenyu.client.java.version} property in
parent POM.

Changes

  • Parent POM: Added <shenyu.client.java.version>2.7.0.3</shenyu.client.java.version> and <dependencyManagement> entries for all 9 client artifacts
  • 21 pom.xml files: Removed <version>${project.version}</version> from 19 client dependency declarations — all now inherit version from parent
  • README.md: Fixed Verification section — replaced broken directory-level mvn spring-boot:run with reactor-root mvn spring-boot:run -pl <module>

Why

Examples now consume released shenyu-client-java artifacts from Maven Central, decoupling from the main repo's source modules — matching the recommended approach for real users.

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@Aias00 Aias00 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.

LGTM

@Aias00
Aias00 merged commit 96a4c94 into apache:master Jul 21, 2026
38 checks passed
@Aias00

Aias00 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

hi, pls add my wechat: aias00

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.

[Task] Update examples to consume independent shenyu-client-java artifacts

2 participants