mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
Project detection only treated a module as Spring Boot when its own build file applied the plugin, so microservice modules that inherit spring-boot-maven-plugin from the parent POM's <build><plugins> (or Gradle's subprojects block) were missing from Run configurations and Services until their main class was run once. And only the literal @SpringBootApplication marked an application class, not @SpringCloudApplication or a project annotation carrying @SpringBootApplication, so the gutter's Run created a plain Application configuration. A module now applies Spring Boot through its own build or a build above it (pluginManagement alone doesn't apply it). Application classes are recognised by @SpringBootApplication, @SpringCloudApplication, or a project annotation declared with either (resolved through imports and the modules' main source roots). The gutter reuses the Spring Boot kind of the detected configuration with the same id. Fixes #3916