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

[WFMP-175] Add property to skip the deployment in the package goal. #256

Merged

Conversation

jmesnil
Copy link
Member

@jmesnil jmesnil commented Oct 6, 2022

If wildfly.package.deployment.skip is true, the user deployment will not be deployed in the provisioned server.

JIRA: https://issues.redhat.com/browse/WFMP-175

Signed-off-by: Jeff Mesnil jmesnil@redhat.com

@jmesnil jmesnil requested a review from jfdenise October 6, 2022 14:59
@jmesnil jmesnil marked this pull request as ready for review October 6, 2022 15:00
If wildfly.package.deployment.skip is true, the user deployment will not
be deployed in the provisioned server.

JIRA: https://issues.redhat.com/browse/WFMP-175

Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
@jmesnil jmesnil force-pushed the WFMP-175_wildfly.package.deployment.skip branch from 526a585 to 226b5e1 Compare October 6, 2022 15:21
@@ -160,6 +160,12 @@ public class PackageServerMojo extends AbstractProvisionServerMojo {
@Parameter(defaultValue = "false", property = PropertyNames.SKIP_PACKAGE)
private boolean skip;

/**
* Skip deploying the deployment after the server is provisioned ({@code false} by default).
Copy link
Member

Choose a reason for hiding this comment

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

I don't think there is any reason to change this, but just as an FYI the default will automatically be added in the generated site. For example https://docs.wildfly.org/wildfly-maven-plugin/package-mojo.html#offlineProvisioning

@jamezp jamezp merged commit fc8fcd0 into wildfly:main Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants