Repository navigation
enh: uses packagingExclude / include for war:exploded - #555
Merged
Merged
Conversation
lprimak
force-pushed
the
exploded-skinny-war
branch
from
September 23, 2025 19:10
e2274c7 to
73ff872
Compare
lprimak
marked this pull request as ready for review
September 23, 2025 19:11
lprimak
marked this pull request as draft
September 23, 2025 19:29
lprimak
force-pushed
the
exploded-skinny-war
branch
from
September 23, 2025 19:33
73ff872 to
3202ec3
Compare
lprimak
marked this pull request as ready for review
September 23, 2025 19:33
Contributor
Author
|
I guess the question is do you want me to add improvements to the plugin, not just minimum changes required to fix the bug? |
Member
Ok, I see - code is moved. So I will not required improvements - but it will be nice to have But some test should be added |
Contributor
Author
|
Ok, the net new code is only this: Really worth testing? |
Contributor
Author
|
Also, the existing tests are really nothing like I've ever seen before, no junit etc. I am not sure I have the bandwidth to learn a new test framework :( |
slawekjaranowski
force-pushed
the
exploded-skinny-war
branch
from
October 7, 2025 21:00
3202ec3 to
c7b00d9
Compare
Contributor
Author
|
Thanks @slawekjaranowski This would have taken me forever to figure out! |
Contributor
Author
|
Thank you Slawomir! Hope to see 3.4.1 release soon as this is holding things back for me. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a fix for a missing feature
The plugin is enhanced to take
<packagingExcludes>and<packagingIncludes>parameters into account when executingwar:explodedandwar:inplacegoals in addition to justwar:wargoal previouslyWhat are the changes?
packagingExcludesandpackagingIncludesparameters intoAbstractWarMojofromWarMojogetPackagingExcludes()andgetPackagingIncludes()toWarPackagingContextinterfaceisExcluded()method tocopyFile()to filter out filesFixes #554
Following this checklist to help us incorporate your
contribution quickly and easily:
Note that commits might be squashed by a maintainer on merge.
This may not always be possible but is a best-practice.
mvn verifyto make sure basic checks pass.A more thorough check will be performed on your pull request automatically.
mvn -Prun-its verify).If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.