-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Currently the eclipse-dmg-packager CBI plugin can only sign but not notarize the built package, which requires an additional subsequent step, for example in the eclipse-platform:
- https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/f3e4494394dcd3e8ee83cd57899549d1058e2b48/cje-production/mbscripts/mb300_gatherEclipseParts.sh#L79-L85
- https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/f3e4494394dcd3e8ee83cd57899549d1058e2b48/cje-production/scripts/notarizeMacApp.sh
It would be great if the eclipse-dmg-packager CBI plugin could already do it when packing a dmg file out of the box.
It would simplify the build configuration and could increase parallelism.
This could be enabled via a notarize property, similar to the already existing sign property:
Lines 169 to 175 in b332cc9
| /** | |
| * Controls signing of the dmg file | |
| * | |
| * @since 1.1.4 | |
| */ | |
| @Parameter(property = "cbi.dmgpackager.sign", defaultValue = "false") | |
| private boolean sign; |
If you are fine with the proposed solution I can offer to work on implementing it.
But maybe it would be even better to make it possible to handle it directly in the dmg-packer back-end so that we don't have to download the dmg package and upload it again just for notarization.