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-269] Allow multiple deployments to be used for the package goal #604

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jamezp
Copy link
Member

@jamezp jamezp commented Nov 27, 2024

This is a replacement for #561

@jfdenise WDYT? The idea is you don't need include a deployment definition for each extra deployment. For example in the demo project, you'd simple add:

<included-dependencies>
    <include>::ear</include>
</included-dependencies>

OR

<included-dependencies>
    <include>demo.multiapps</include>
</included-dependencies>

@jamezp
Copy link
Member Author

jamezp commented Nov 27, 2024

Maybe it should be included-deployments instead of included-dependencies.

@@ -271,6 +279,22 @@ public class PackageServerMojo extends AbstractProvisionServerMojo {
@Parameter(alias = "bootable-jar-install-artifact-classifier", property = PropertyNames.BOOTABLE_JAR_INSTALL_CLASSIFIER, defaultValue = BootableJarSupport.BOOTABLE_SUFFIX)
private String bootableJarInstallArtifactClassifier;

/**
* A list of the dependencies to include as deployments. The dependencies must be defined as dependencies in the
Copy link
Contributor

Choose a reason for hiding this comment

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

We should perhaps add the syntax of the dependency?

@jfdenise
Copy link
Contributor

@jamezp , I like the dependencies in the name, this is what they are, no confusion with File path,...
perhaps deployed-dependencies?

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

Successfully merging this pull request may close these issues.

2 participants