slachiewicz opened a new pull request, #1378: URL: https://github.com/apache/maven-javadoc-plugin/pull/1378
Stacked on #1377, which touches the same lines; only the last commit belongs to this PR. The javadoc tool's `--release` takes only the plain feature number and rejects `1.8` with `release version 1.8 not supported`, while `source` accepts both spellings. This maps `1.5` to `1.8` onto `5` to `8` when building the `--release` argument and passes every other value through unchanged. codehaus-plexus/plexus-compiler#516 does the same for javac, and the pair lets a parent POM derive `maven.compiler.release` from a child's `maven.compiler.target` in either spelling (apache/maven-apache-parent#608). Verified: `mvn clean verify` → 72 tests, 0 failures. Integration tests not run. *This change was created with AI assistance.* -- 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]
