0

I have a maven application where I need to make a snap for it

I knew that I need to add this piece in the snapcraft.yaml

parts:
    webapp:
        plugin: maven
        source: [add the source code directory]

but I did not knew what I need to add in the

apps:
  client:
    command: ??

will you help me solve it

Thanks in advance

1 Answer 1

1

The command section is documented at https://snapcraft.io/docs/build-snaps/metadata and essentially needs an entry for each executable your application contains.

1
  • I have built the snap without the apps part. the prime folder does not have a bin folder. it contains (etc, jar, lib, meta, snap, usr and var) as well as the "command-client.wrapper". do I miss something?
    – Joey
    Mar 16, 2017 at 8:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .