microsoft / microsoft/vscode-java-pack
Spring Boot maven plugin does not honor excludeGroupIds
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 352
- Forks
- 166
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 32
Description
Suggestion
Currently, it seems that if in your project pom.xml you use spring-boot-plugin and provide <excludeGroupIds> and <excludes> sections, these are not honored when starting the spring boot application. Same is also true for <jvmArguments>. For jvmArguments, these can be passed inside the args section when launching, but not so for exclusions. Is it possible to support the settings provided to the spring-boot-maven-plugin when running the application.
Use Cases
We have a lot of exclusions in the spring-boot-maven-plugin since our code is legacy and lots of old libraries. We use this as a way to make sure those transitive dependencies do not work at runtime using excludeGroupIds and excludes section.
https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#packaging.examples.exclude-dependency
Examples
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.