← All tasks
javaapache/shenyu #6601Not a task: not reproduced

[Task] Dead maven.compiler.source/target = 8 in modules that actually compile to Java 17

envgap__apache__shenyu-6601

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
0a177ae3c4bade1909912970bad5ae907a9b4f5b
Manifest
shenyu-integrated-test/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

apache/shenyu #6601 · read the original issue
## Description
Root forces 17 (`pom.xml:84`, `:727-728`) via active compiler config, so children's `maven.compiler.source=8` is overridden. Two *production* TCP modules ship POM metadata claiming Java 8 bytecode while actually emitting 17.

## Location
```
Production — shenyu-protocol/shenyu-protocol-tcp/pom.xml:29-30
shenyu-spring-boot-starter/.../shenyu-spring-boot-starter-plugin-tcp/pom.xml:29-30
Test — shenyu-integrated-test/pom.xml:56-57 + 6 child modules
```

## Impact
Misleading artifact metadata; if root compiler config ever moves to `pluginManagement`, these silently fall back to 8 and break on Spring Boot 3.x.

## Suggested fix
Remove the `maven.compiler.source/target` overrides; let root's `java.version=17` apply.

## Related existing issue(s)
None

_Identified during the 2026-08-02 audit; full list in [`docs/issue-candidates-2026-08-02.md`](docs/issue-candidates-2026-08-02.md)._
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]