Ubuntu: how can I build a snap for JAVA maven?



Question:

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


Solution: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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »