maven-2

How to add new maven module into existing maven project


I mean is there a possibility to run some maven command to add new module to existing project , or manually create folder and needed changes to pom.xmls ?


Solution

  • If you are working with Eclipse (m2eclipse) you can add a maven-module via Eclipse (NetBeans and IntelliJ should work the same way) otherwise you have to do that manually...editing the pom and create the folder and put stuff into the new module.