microsoft / microsoft/vscode-java-pack

Spring Boot maven plugin does not honor excludeGroupIds

Aperta
#1,065 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

ai-triaged enhancement
Lingua principale
TypeScript
Stelle
352
Fork
166
Merge medio
17h 47m
PR unite (30g)
32

Descrizione

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

https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#packaging.examples.exclude-dependency

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.