Skip to content

[MSHARED-1466] add default MANIFEST entry for release/target JDK #259

Open
@jira-importer

Description

@jira-importer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions