yangjj-iso opened a new pull request, #7680:
URL: https://github.com/apache/shenyu/pull/7680

   Builds currently inherit a Maven 3.0.5 minimum from the Apache parent 
without a repository-owned Java version check. Add Maven Enforcer 3.6.3 to the 
root build and bind `enforce-build-requirements` to `validate`, requiring Maven 
`[3.6.3,)` and Java `[${java.version},)` (17+) in every inheriting module.
   
   This follows [the agreed step-1 
scope](https://github.com/apache/shenyu/issues/6602#issuecomment-6211185434). 
Dependency-rule rollout and alignment remain in #7679; the verified minimal 
reproduction is [posted 
there](https://github.com/apache/shenyu/issues/7679#issuecomment-6211596947).
   
   Closes #6602.
   
   Validation on wrapper Maven 3.6.3 / JDK 21.0.10:
   
   - `./mvnw -B -ntp validate`: all 213 reactor projects pass, including 
Checkstyle and inherited version checks.
   - `./mvnw -B -ntp -N apache-rat:check`: passes with zero unapproved or 
unknown licenses.
   - Temporary copies of the POM with an independently raised Maven or Java 
minimum of 99 both fail with the corresponding Enforcer version error, 
confirming that version-rule failures block validation.
   
   Make sure that:
   
   - [x] You have read the [contribution 
guidelines](https://shenyu.apache.org/community/contributor-guide).
   - [ ] You submit test cases (unit or integration tests) that back your 
changes. (POM-only change; verified through the Maven lifecycle and temporary 
negative fixtures above.)
   - [ ] Your local test passed `./mvnw clean install 
-Dmaven.javadoc.skip=true`. (Full compile/test/install was not run; all 213 
modules passed `validate`.)
   
   


-- 
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]

Reply via email to