Description
Hervé Boutemy opened MSHARED-1466 and commented
we currently have Build-Jdk-Spec
by default
https://maven.apache.org/shared-archives/maven-archiver-3.6.3/#manifest
it documents the JDK major version used during the build: ok, why not
but what users really need is the target bytecode version = the minimum JRE version that they'll have to use
= what we put in documentation as "Java Version" https://maven.apache.org/shared-archives/maven-archiver-3.6.3/summary.html
recording it in MANIFEST.MF would make it much more accessible: Target-Jdk-Spec
and Release-Jdk-Spec
based on maven.compiler.target
or maven.compiler.release
properties?
Affects: maven-archiver-3.6.3, maven-archiver-4.0.0-beta-1
Issue Links:
-
MPIR-263 improve minimum java requirement when m-compiler-p not explicitely configured: use default properties
("incorporates") -
MPIR-481 clarify Java Version: build, target or release?
-
MJAR-323 add Release/Target-Jdk-Spec entries to MANIFEST.MF
("is required by")
2 votes, 3 watchers