maven: A new Maven plugin for generating manifests and more for Java projects#505
maven: A new Maven plugin for generating manifests and more for Java projects#505brett-smith wants to merge 1 commit intoflatpak:masterfrom
Conversation
…n-flatpak-plugin), a Maven plugin that generates a manifest and more.
|
I don't think this suits the repo here. This seems to be a generator for the main Flatpak manifest while most of the generators/tools here generate source manifests from language specific lockfiles etc. They don't generate the main app manifest. |
|
Understood. Having examined more closely what the gradle plugin does, I think I get can my plugin to behave more this way. From what I can make out it is already gathering the same information, I just need to generate a JSON file instead of having all the sources in the manifest and copy some files to different locations. It would be up to the user then to manage all the other files themselves (although they can still of course generate the initial manifests). I'll close this for now, and create a new PR when I have something that more closely matches this behaviour. |
I wasn't totally sure if this is the right place to announce my newish Maven plugin that generates Flatpak resources, as there are not actually any scripts that are needed other than your POM, but I see there is already a gradle plugin and it is quite similar to that.
So here it is, flatpak-maven-plugin that will generate a manifest suitable for the simple build system, AppStream metadata, desktop entries and a launcher script. Given a well populated
pom.xml, all the user will generally need to do is supply the main class, drop an icon or two in the right place, and run a few commands to get their package.I hope its of some use!