Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Maven plugin to create bootable jar from existing Web Archive. #227

Open
chris-corless opened this issue Apr 8, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@chris-corless
Copy link

Please extend the wildfly-jar-maven-plugin plugin to allow generation of a bootable jar from an existing .war file. This will be prove very useful in those cases where web archive assembly is more complex and cannot be handled by maven directly.

@jfdenise jfdenise self-assigned this Apr 8, 2021
@jfdenise jfdenise added the enhancement New feature or request label Apr 8, 2021
@jamezp
Copy link
Collaborator

jamezp commented Apr 8, 2021

Do you mean creating a new project which has a dependency on a WAR?

@jfdenise
Copy link
Collaborator

jfdenise commented Apr 8, 2021

I was thinking at a path to a war (or any supported deployment) file that would be used during packaging time, not a Maven "dependency". So a new option in the Maven plugin configuration.

This issue in some way is related to being able to build a Bootable JAR outside Maven, something like:
java -jar wildfly-bootable-jar-builder.jar build --galleon-layers=x,y,z --location=org.wildfly:wildfly-galleon-feature-pack:24.0.0.Final --deployment=mywar.war
The builder would rely on an API that other project could use (Arquilian?).

@jamezp
Copy link
Collaborator

jamezp commented Apr 8, 2021

Ah so more of a command line tool. I can kind of see both use cases TBH. The simplest being a new maven project with a WAR dependency.

@chris-corless
Copy link
Author

chris-corless commented Apr 8, 2021 via email

@jfdenise
Copy link
Collaborator

@chris-corless , the ability to reference an external deployment has been added. We plan to release an early access of the feature in 6.0.0.Alpha1. Let us know if that answers your needs.

@jfdenise
Copy link
Collaborator

@chris-corless , in the end we didn't release a support for "server mode" that was offering the ability to package a war in the bootable JAR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants