how can I run child module plugin goal when I build the main project
I want to run spring-boot plugin after build the project, but the spring-boot plugin only added in the submodule, is there any solution? thanks always!
main-project
pom.xml
spring-boot plugin not added in the main pom.xml
module1
pom.xml
module2
pom.xml
depend on module1
spring-boot plugin added
when I run the command
mvn clean install -pl module2 -am spring-boot:run
the maven throws excption
[ERROR] No plugin found for prefix 'spring-boot' in the current project and in the plugin groups