zeng-bohan commented on issue #13862:
URL: https://github.com/apache/dubbo/issues/13862#issuecomment-6092507018

   You're right, and my scan was weaker than I claimed. I grepped for 
`spring-boot-starter-parent` plus the literal `2.7.18`, which misses both 
BOM-imported versions and anything older than 2.7.18. Cloning `master` and 
resolving the version each pom actually pins gives a very different answer.
   
   **20 modules are still not on Spring Boot 3** on `fcda5252`.
   
   Already covered by an open PR (3):
   
   | module | pinned version | PR |
   | --- | --- | --- |
   | 
`2-advanced/dubbo-samples-triple-rest/dubbo-samples-triple-rest-openapi-generator`
 | 2.7.18 | #1301 (mine) |
   | `4-governance/dubbo-samples-metrics-spring-boot` | 2.7.18 | #1298 |
   | `2-advanced/dubbo-samples-dubbo` | 2.7.8 | #1303 (yours — BOM import, and 
it pins `maven.compiler` to 1.8 as well) |
   
   Unclaimed (17):
   
   | module | pinned version |
   | --- | --- |
   | `10-task/dubbo-samples-benchmark` | 2.7.8 |
   | `2-advanced/dubbo-samples-attachment` | 2.7.8 |
   | `2-advanced/dubbo-samples-tengine` | 2.7.8 |
   | `2-advanced/dubbo-samples-async/dubbo-samples-async-simple-boot` | 2.7.8 |
   | 
`2-advanced/dubbo-samples-async/dubbo-samples-async-generated-future-springboot`
 | 2.7.8 |
   | 
`2-advanced/dubbo-samples-async/dubbo-sample-async-generated-future-springboot` 
| 2.7.8 |
   | `3-extensions/serialization/dubbo-samples-protostuff` | 2.7.8 |
   | 
`3-extensions/protocol/dubbo-samples-resilience4j/dubbo-samples-resilience4j-springboot2`
 | 2.7.8 |
   | `4-governance/dubbo-samples-metrics-prometheus` | 2.7.8 |
   | `4-governance/dubbo-samples-tracing` | 2.7.8 |
   | `4-governance/dubbo-samples-spring-boot-hystrix` | 2.3.12.RELEASE |
   | `2-advanced/dubbo-samples-docker` | 1.5.22.RELEASE |
   | 
`3-extensions/configcenter/dubbo-samples-configcenter-externalconfiguration` | 
1.5.22.RELEASE |
   | `3-extensions/protocol/dubbo-samples-rest` | 1.5.22.RELEASE |
   | `3-extensions/protocol/dubbo-samples-rocketmq` | 1.5.22.RELEASE |
   | `3-extensions/protocol/dubbo-samples-triple` | 1.5.22.RELEASE |
   | 
`3-extensions/protocol/dubbo-samples-resilience4j/dubbo-samples-resilience4j-filter`
 | 1.5.22.RELEASE |
   
   So there was real work left after all — my "no unclaimed Boot 2 slice" claim 
was wrong.
   
   Method, so it can be checked: for each of the 426 poms I took 
`<spring-boot.version>` when present, otherwise the `<version>` next to 
`spring-boot-starter-parent`. No pom resolves its version through a `${...}` 
reference, and none of the aggregate parents (root, `1-basic`, `2-advanced`, 
`3-extensions`, `4-governance`, `10-task`) declare a `spring-boot.version`, so 
nothing is inherited into the list or missing from it. 87 poms pin a 3.x 
version.
   
   Two caveats so nobody loses a weekend to the wrong expectation:
   
   - The 2.7.8 ones are mostly a version property + `maven.compiler` + README, 
i.e. the same shape as your #1303.
   - The 1.5.22 / 2.3.12 ones jump four-plus majors and several of those 
samples touch `javax.servlet` or old config APIs, so they need real source 
changes. `dubbo-samples-spring-boot-hystrix` additionally depends on an EOL 
artifact. Those are worth a separate issue rather than a single PR.
   
   Still not swept, and I'd rather say it than imply otherwise: `javax.*` usage 
and per-module `maven.compiler` / `java.version` across the repo. If you want 
to take that dimension, say so — I'll share what a first pass turns up so the 
two of us don't cover the same ground.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to