-
Notifications
You must be signed in to change notification settings - Fork 41.2k
PropertiesLauncher requires spring-core on the classpath #23474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the suggestion, but we're happy with |
On second thought, let's consider this for |
+1 for updating |
Uber jar created by spring-boot-maven-plugin sometimes requires that the application depends on spring-framework.
PropertiesLauncher imports Assert from spring-framework, and can sometimes fail.
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.
The text was updated successfully, but these errors were encountered: