child module not found in maven multi project execution -
i created 2 projects(project-1,project-2) in directory , execute both projects in 1 click create project(project-3) in directory , nowadays these 2 projects((project-1,project-2) modules , define packaging pom
here using modules concept.
<modules> <module>d:/20-6-2014/project-1</module> <module>d:/20-6-2014/project-2</module> </module>
i define project-3 parent both projects,while run project-3 gives error.
error is: kid module d:\20-6-2014\project-3\project-1 of d:\20-6-2014\project-3\pom.xml not exist.
your directory construction should follows project-3 parent project project-1 , project-2
| | ----project-3 | | ----pom.xml | | ----project-1 | | | | | ------pom.xml ----project-2 | | -------pom.xml
and project-3's pom.xml
should have
<modules> <module>project-1</module> <module>project-2</module> </module>
maven
No comments:
Post a Comment