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.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

ai-triaged enhancement

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

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/vscode-java-pack

Alle Issues in microsoft/vscode-java-pack

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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