Make initialize-spring-boot-migration
work with simple multi Maven module project
#270
Closed
8 tasks done
Currently, the recipe
initialize-spring-boot-migration
only works for single module projects.As a first step to support multi maven module projects this recipe should work with a simple multi module project.
What needs to be done
Setup project
Parent/root module
Application module
Component module
Expected result:
TODOs
AddDependencies
: adds dependencies to topmost application modules. This is oversimplified. The correct module has to be calculated depending on the usage.RemoveDependenciesMatchingRegex
: Removes dependencies from the modules whereAddDependency
was applied.AddMavenPlugin
: Adds thespring-boot-maven-plugin
to all application modulesAddSpringBootApplicationPropertiesAction
: Addsapplication.properties
to all application modulesAddSpringBootMainClassAction
: Adds main class to all application modulesAddSpringBootContextTestClassAction
: Adds main class to all application modulesBuildPackaging
: Changestype
to jar for application modulesMultiModuleHandler
and abstract class providing the setter for ActionThe text was updated successfully, but these errors were encountered: