microsoft / microsoft/vscode-java-pack

Spring Boot maven plugin does not honor excludeGroupIds

Offen
#1,065 3 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

ai-triaged enhancement
Vorherrschende Sprache
TypeScript
Sterne
352
Forks
166
Ø Merge
17 Std. 47 Min.
Gemergte PRs (30 T.)
32

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.