
- #Jrebel maven multi module how to
- #Jrebel maven multi module free
- #Jrebel maven multi module windows
I can get it work if I create a custom rebel.xml for the main webapp that points to all the absolute directories containing the source files (static files such as JSP, HTML, JS, CSS, images, etc.) of the depending web apps. The rebel.xml for the jars modules are at the right places (inside the jar file). Because the rebel.xml it's generated dynamically via jrebel maven plugin when the main webapp build occurs, only the it's jrebel.xml prevail. I have a main web app module that depends on several webapps modules. Kind of…I'm still struggling with the war modules overlaying.
#Jrebel maven multi module windows
Select "Create a simple project (skip archetype selection)", input the Module name as "application", ensure that the selected "Parent Project" is the one created above and click on Finish.Īt this point, go to Windows in the top Toolbar in Eclipse and go to Show View -> Project Explorer. Right-click the parent project created above, "spring-boot-multi-module", New -> Other -> Maven Module and click on Next. Let's start with creating the sub-module "application".

#Jrebel maven multi module free
As this is the parent module, its packaging has to be pom.įeel free to enter the Name and Description of your artifact. Input "spring-boot-multi-module" or something similar to Artifact Id.Ĭhange the packaging to pom. Input "" or something similar to Group Id. Select "Create a simple project (skip archetype selection)" and click on Next.

Open Eclipse, go to File -> New -> Other -> Maven -> Maven Project and click on Next. So, without further ado, let's get going. By running the maven build on parent’s pom file all sub-modules will be built. We have the option of running Maven build on separate module’s pom file or the parent’s pom file. The sub-modules are regular maven projects that have packaging type different from pom, such as jar, war, ear. The parent pom is located in the project’s root directory and must have the packaging of type pom.

With this in your arsenal you should be in a position to extend this as per your project needs.Ī multi-module project is built from a parent pom that manages a group of sub-modules.

Here I must confess that I am not being a total DDD purist here adhering to all the concepts but instead just covering the first mile.
#Jrebel maven multi module how to
In this post we will go through how to create a Multi-Module Maven Project with Spring Boot following Domain-Driven Methodology.
