Skip to content

PropertiesLauncher requires spring-core on the classpath #23474

@maxxedev

Description

@maxxedev

Uber jar created by spring-boot-maven-plugin sometimes requires that the application depends on spring-framework.

  1. PropertiesLauncher imports Assert from spring-framework, and can sometimes fail.

  2. JarModeLauncher imports two spring-framework classes, and always fails. This means layered jar cannot be used without spring-framework.

It is perhaps reasonable to assume that spring-boot-maven-plugin is used only in spring-boot apps which should have spring-framework on the classpath. Nonetheless, it'd be nice to eliminate these dependencies so that the plugin can be used for non-spring apps too.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions