JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

SnapCraft support

Open kerner1000 opened this issue 3 years ago • 3 comments

I'm submitting a…

  • [ ] bug report
  • [X] feature request
  • [ ] other

Short description of the issue/suggestion:

It would be nice to have support to build a SnapCraft snap.

kerner1000 avatar Jul 19 '22 18:07 kerner1000

Currently researching about SnapCraft

fvarrui avatar Jan 25 '23 11:01 fvarrui

Snap package manually built with success for a sample project using next config file (target/snap/snapcraft.yaml):

name: helloworldmaven
base: core22
version: '1.0.0'
summary: Hello world app packaged with JavaPackager
description: |
  This is HelloWorld description.

grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots

apps:
  HelloWorldMaven:
    command: HelloWorldMaven
    extensions: [ gnome ]
    environment:
      JAVA_HOME: $SNAP/jre
      PATH: $JAVA_HOME/jre/bin:$PATH

parts:
  app:
    plugin: dump
    source: ./HelloWorldMaven
    source-type: local

fvarrui avatar Feb 17 '23 08:02 fvarrui

Work in progress on issue-229.

fvarrui avatar Feb 17 '23 13:02 fvarrui