Skip to content

fix: Adds an empty list to nonFilteredFileExtensions#2367

Merged
spencergibb merged 1 commit intospring-cloud:mainfrom
marcingrzejszczak:fixMavenPlugin
Dec 3, 2025
Merged

fix: Adds an empty list to nonFilteredFileExtensions#2367
spencergibb merged 1 commit intospring-cloud:mainfrom
marcingrzejszczak:fixMavenPlugin

Conversation

@marcingrzejszczak
Copy link
Contributor

without this change an NPE is being thrown from Maven Resources Filtering with this change since the list is empty an NPE is no longer thrown

fixes #2361

without this change an NPE is being thrown from Maven Resources Filtering
with this change since the list is empty an NPE is no longer thrown

fixes spring-cloud#2361

Signed-off-by: Marcin Grzejszczak <marcin@grzejszczak.pl>
Copy link
Member

@spencergibb spencergibb left a comment

Choose a reason for hiding this comment

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

Is there any way to add a regression test?

@marcingrzejszczak
Copy link
Contributor Author

Definitely - #2305

@ryanjbaxter
Copy link
Contributor

@marcingrzejszczak thanks! I saw this issue, but hadn't had a chance to look into it.

Do you plan on adding the tests to this PR?

@spencergibb spencergibb merged commit 51972ef into spring-cloud:main Dec 3, 2025
4 checks passed
@marcingrzejszczak marcingrzejszczak deleted the fixMavenPlugin branch December 3, 2025 16:43
marcingrzejszczak added a commit to marcingrzejszczak/spring-cloud-contract that referenced this pull request Dec 3, 2025
marcingrzejszczak added a commit to marcingrzejszczak/spring-cloud-contract that referenced this pull request Dec 4, 2025
Signed-off-by: Marcin Grzejszczak <marcin@grzejszczak.pl>
ryanjbaxter added a commit that referenced this pull request Dec 4, 2025
@jduhking
Copy link

what version is this fix in now? Is it released yet?

@ryanjbaxter
Copy link
Contributor

It's in 5.0.1

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.

Maven plugin fails when converting resources

5 participants