Hi @gkwan-ibm
I can see that you have modified pom.xml and added packagingType as "war". LMP will consider the project as a normal war project based on this.
LGP uses plugin section to identify the project is war or springboot-project. Even if we have configured "war" plugin, springboot plugin is getting higher priority.
You would be required to remove springframework.boot from plugins section. This would need lots of dependency modifications
plugins {
id 'org.springframework.boot' version '3.5.0'
}
Originally posted by @arunvenmany-ibm in #999
Why the behavior of LMP and LGP are different? Should they be same?
- i.e. if just pom.xml includes spring-boot starter dependencies, LMP does not consider the project as a spring application