How to create an empty multi module Maven project?

后端 未结 8 450
孤独总比滥情好
孤独总比滥情好 2020-12-04 05:19

Right now I usually find a pom.xml file on the web that has a pom packaging and copy and paste it to create my parent project. Then I used to run <

8条回答
  •  星月不相逢
    2020-12-04 05:52

    If you are working with the eclipse IDE you should use the m2eclipse plug-in. This is one of the easiest way to create multi-module projects. You can add a module to every maven project by creating a 'Maven Module-Project' within eclipse. When doing this you have the possibility to select a parent project. The plug-in does everything, means it copies the new module to parent module and modifies the pom.xml file.

提交回复
热议问题