-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[WFLY-19629] set bootableJarName in bootable-jar profile #946
Conversation
@kstekovi for this kind of solution you need to change the quickstart_ci.yaml lines 137 and 244 to include -Dbootable-jar-name=${{ inputs.QUICKSTART_PATH }}-bootable.jar , this is why all CI is failing on bootable jar testing... and also there is an instruction at https://github.com/wildfly/quickstart/blob/main/shared-doc/run-integration-tests-with-bootable-jar.adoc?plain=1#L22 where you need to do similar. You also need to revert the removal of There is an alternative tho, which is to keep the plugin default config i.e. name all bootable jars "server-bootable.jar", and change instead the README instructions at https://github.com/wildfly/quickstart/blob/main/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc lines 65 and 68, to use server-bootable.jar instead of {artifactId}-bootable-jar. Personally I prefer this alternative since it means less pom.xml content, but maybe it is just me. @jfdenise @jamezp any opinion on what should be the default wildfly maven plugin config we should use wrt bootable jars? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above
I need to think about this. The |
@jamezp considering that we didn't yet release anything on EAP yet I agree it shouldn't be a big issue to change to ${project-artifactId}-bootable.jar, and that should mean all QS needs to do is move to the new plugin version PS: please note that this affects not only package goal, also start-jar |
We've had it supported in WildFly since 5.0, which is the current release. It would be a breaking change for 5.0, but might be okay. I'll have to think if that's something we want to do or if it should go into 5.1. |
Hi @emmartins requested change done. I did the first approach even it means one more line in the pom.xml @jamezp regarding to https://issues.redhat.com/browse/WFMP-265 using the |
@jamezp any idea when we can have WFMP-265 done? Should we proceed with this one till the plugin is updated? |
@jamezp does is WFMP-265 only about a default value? So with the |
no longer needed since the plugin is now using to the old wildfly-jar behavior, producing ${artifactId}-bootable.jar |
Oh wow. I don't know how I missed this. I'm sorry about that @emmartins. I think it's time to clean up my inbox :) |
https://issues.redhat.com/browse/WFLY-19629