Search code examples
mulemule-studiomule-componentmule-elmule-esb

Mule ESB How to manage multiple project?


I have a base project named : ParentProject that contains all common businesses needed for children. I also have 2 children Child1Project and Child2Project those project inherit all businesses of the ParentProject.

In the future, I may have Child3Project, Child4Project, so on.

So what should I do to organize those project in MULE ESB 3.7?

Many thanks.


Solution

  • One way to do this will be to make sure all your projects use Maven as build tool. Now, while creating the POM for the parent project, make sure it's packaging is "jar". Now, whenever you want too add this parent project properties to your child project, you'll just need to import the jar to the child project, or the repository configuration of the parent project in the POM of the child project.