This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
The following commit(s) were added to refs/heads/master by this push: new 68277b8 document Java-Version entry added in #299 (#315) 68277b8 is described below commit 68277b888b2f5927091813d8c322b588c5fa2808 Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Tue Sep 30 03:55:25 2025 +0200 document Java-Version entry added in #299 (#315) --- src/site/xdoc/index.xml.vm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/site/xdoc/index.xml.vm b/src/site/xdoc/index.xml.vm index f66c98b..52e92bb 100644 --- a/src/site/xdoc/index.xml.vm +++ b/src/site/xdoc/index.xml.vm @@ -216,9 +216,12 @@ version=\${project.version}</source> If the manifest will contain these entries: <source> Created-By: Maven Archiver ${project.version} -Build-Jdk-Spec: ${java.specification.version}</source> - Since 3.5.0, the default value of <code>Created-By</code> entry can be overridden using +Build-Jdk-Spec: ${java.specification.version} +Java-Version: ${project maven.compiler.release/target}</source> + Since 3.5.0, the default value of <code>Created-By</code> entry can be overridden (usually by plugin code) using <a href="./apidocs/org/apache/maven/archiver/MavenArchiver.html">MavenArchiver.setCreatedBy(...)</a> API.<br /> + Since 3.6.5, <code>Java-Version</code> entry is discovered by + <a href="./apidocs/org/apache/maven/archiver/BuildHelper.html">BuildHelper.discoverJavaRelease(...)</a> API.<br /> The default value is <code>true</code>. </td> <td>boolean</td>