You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2025/09/30 01:36:07 UTC
(maven-archiver) branch MSHARED-1466-doc created (now 95c5ab4)
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a change to branch MSHARED-1466-doc
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
at 95c5ab4 document Java-Version entry added in #298
This branch includes the following new commits:
new 95c5ab4 document Java-Version entry added in #298
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-archiver) 01/01: document Java-Version entry added in #298
Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch MSHARED-1466-doc
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
commit 95c5ab456ce9ea96d01374eff48694479a2adb08
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Sep 30 03:35:58 2025 +0200
document Java-Version entry added in #298
---
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..562d065 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>