JDK-8241451 : [macos] Add support for notarizing pkg installers
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 15
  • Priority: P2
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2020-03-23
  • Updated: 2020-04-17
  • Resolved: 2020-04-16
Related Reports
Relates :  
Description
JDK-8237490 is adding support to jpackage to sign app-image such that app-image or dmg file can be notarized.
Notarizing pkg files is a little different (mainly just requires a different certificate.)
This Enhancement is to insure pkg files generated by jpackage can be notarized.
Comments
I have confirmed that this works as is: With the proper certs installed, I can notarize a pkg installer generated by jpackage (from JDK-15). I have confirmed this works both with pkg that is built with one jpackage command, and with two a phase build (where an app-image is created by the first jpackage command, and then the pkg is built by second jpackage command using the --app-image option).
16-04-2020