Skip to content

maven: A new Maven plugin for generating manifests and more for Java projects#505

Closed
brett-smith wants to merge 1 commit intoflatpak:masterfrom
bithatch:master
Closed

maven: A new Maven plugin for generating manifests and more for Java projects#505
brett-smith wants to merge 1 commit intoflatpak:masterfrom
bithatch:master

Conversation

@brett-smith
Copy link

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!

@brett-smith brett-smith requested a review from a team as a code owner January 31, 2026 17:03
@brett-smith brett-smith changed the title maven: A new Maven plugin for generating manfiests and more for Java projects maven: A new Maven plugin for generating manfests and more for Java projects Jan 31, 2026
@brett-smith brett-smith changed the title maven: A new Maven plugin for generating manfests and more for Java projects maven: A new Maven plugin for generating manifests and more for Java projects Jan 31, 2026
@bbhtt
Copy link
Collaborator

bbhtt commented Feb 1, 2026

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.

@brett-smith
Copy link
Author

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.

@brett-smith brett-smith closed this Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants