Skip to content

[WFLY-20810] WildFly Maven Plugin, bootable JAR packaging for the cloud#748

Open
jfdenise wants to merge 1 commit intowildfly:mainfrom
jfdenise:WFLY-20810
Open

[WFLY-20810] WildFly Maven Plugin, bootable JAR packaging for the cloud#748
jfdenise wants to merge 1 commit intowildfly:mainfrom
jfdenise:WFLY-20810

Conversation

@jfdenise
Copy link
Contributor

Issue: #747

@github-actions github-actions bot added the stability-level/community "Community" stability level label Jul 30, 2025
Copy link
Contributor

@bstansberry bstansberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A general comment is I think the Overview can be much simpler and the Hard Requirements should be more expansive. Don't use the Overview to detail the feature. Most of what's in 'WildFly and the cloud galleon feature-pack' and below in the Overview can be reduced to a few sentences that say that a feature pack to adapt a bootable jar to the cloud environment is needed, but the existing org.wildfly.cloud:wildfly-cloud-galleon-pack is tightly coupled to the s2i use case and isn't appropriate. So a new feature pack will be added.

Formally list hard requirements so those reviewing the feature can clearly see what will and won't be done. Don't make them parse the Overview etc to get that.

@github-actions github-actions bot added stability-level/community "Community" stability level and removed stability-level/community "Community" stability level labels Sep 1, 2025
@jfdenise
Copy link
Contributor Author

jfdenise commented Sep 1, 2025

@bstansberry @jmesnil @fabiobrz , I have reworked the proposal to have the cloud feature-pack usable with Bootable JAR. I also covered in details the impact.

@fabiobrz
Copy link
Contributor

fabiobrz commented Sep 1, 2025

Thanks @jfdenise - I am off this week, but will review as soon as I will be back.

@github-actions github-actions bot added stability-level/community "Community" stability level and removed stability-level/community "Community" stability level labels Oct 28, 2025
@github-actions github-actions bot added stability-level/community "Community" stability level and removed stability-level/community "Community" stability level labels Nov 17, 2025

==== Excluding logic executed at boot time

* When provisioning a server installation, the package `org.wildfly.cloud.bootable.runtime` can be excluded.
Copy link

@mchoma mchoma Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does can be excluded mean ? Why user may or may not explicitly remove it?

When server is provisioned, I would expect org.wildfly.cloud.bootable.runtime would be excluded automatically, because it can do some problems.

Copy link
Contributor Author

@jfdenise jfdenise Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package doesn't cause problem. We have modules that are installed although not used. Excluding it is for trimming even more your installation.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the question is if we want wildfly-maven-plugin to be smart and when we know we have module which is not used for bootable-jar, why dont we exclude it right away? Or we are afraid this kind of logic will be hard to maintain, buggy etc. ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I'm uncomfortable with spreading logic about what gets provisioned across code bases. That quickly leads to things happening via a kind of black magic that only one or two people understand, and probably one of them forgets about it after a couple years or moves on from involvement.

That's my overly verbose way of saying "hard to maintain / buggy'. ;-)

==== Excluding logic executed at boot time

* When provisioning a server installation, the package `org.wildfly.cloud.bootable.runtime` can be excluded.
* When provisioning a bootable JAR, the package `org.wildfly.cloud.launch.scripts` can be excluded.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, the package can stay no side effect. It is a mater of trimming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stability-level/community "Community" stability level

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants