Skip to content

Add manifests to assembled binary JARs - #76

Merged
DanielThomas merged 1 commit into
mainfrom
add-binary-jar-manifests
Sep 24, 2026
Merged

DanielThomas merged 1 commit into
mainfrom
add-binary-jar-manifests

Conversation

@DanielThomas

Copy link
Copy Markdown
Member

Binary JARs assembled by ja currently suppress the default manifest, which makes java -jar report them as invalid or corrupt when they do not provide one.

  • allow jar to generate its default manifest for binary artifacts
  • pass source-provided manifests through --manifest so their attributes are retained
  • retain the existing no-manifest behavior for source and Javadoc artifacts
  • cover default manifests, source attributes, and synthesized Main-Class values

Testing

  • ja test --all (387 tests passed)

@DanielThomas
DanielThomas merged commit a027cb7 into main Sep 24, 2026
7 checks passed
@DanielThomas
DanielThomas deleted the add-binary-jar-manifests branch September 24, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant