I am having a Spring Boot App with Java 9.
Depending on the input parameter to maven, I want to create the Spring Boot App Jar with different modules.
Example: I have four modules mod1, mod2, mod3, and mod4. If I pass the parameter 'light' then the Spring Boot App should have mod1 and mod2 modules only and If I pass a parameter 'full' it should create spring boot jar with all the modules i.e build mod1, mod2, mod3, and mod4.
Is this possible?