简体   繁体   中英

Adding existing maven project to Maven multi module project in eclipse

I already have an existing maven project in my eclipse workspace. I created another multi module maven project and need to add that existing project as a module. So lets say i have parent project ( my-parent-project) and need to add already existing ( my-maven-project) as a module of that parent project. Can you please help me to do that? I know how to create and add a module project but do not know how to add an existing project as a module. Thanks

Modules are for when the sources are nested and then you just need a modules-module section in your pin

Otherwise it is a dependency (and eclipse is smart enough to resolve these across projects)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM