-
Notifications
You must be signed in to change notification settings - Fork 96
enh: uses packagingExclude / include for war:exploded #555
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
Conversation
e2274c7 to
73ff872
Compare
73ff872 to
3202ec3
Compare
|
I guess the question is do you want me to add improvements to the plugin, not just minimum changes required to fix the bug? |
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 |
|
Ok, the net new code is only this: Really worth testing? |
|
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 :( |
3202ec3 to
c7b00d9
Compare
|
Thanks @slawekjaranowski This would have taken me forever to figure out! |
|
Thank you Slawomir! Hope to see 3.4.1 release soon as this is holding things back for me. |
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.