I have project A
which depends on project B
which depends on project C
i need when build project A
,project B
will automatically build which will automatically build project C
in project A
i created a parent pom which contains module for project B
<modules>
<module>../B</module>
</modules>
in project B
another parent pom with module for project C
<modules>
<module>../C</module>
</modules>
and finally in project A
pom file i added the parent element of Project A
<parent>
<groupId>groupId.A</groupId>
<artifactId>artifactId.A</artifactId>
<version>1.0</version>
<relativePath>parent-pom.xml</relativePath>
</parent>
when build project A
it always fails because it cannot see dependency B
what i need is to automat the build sequence project after project without creating aggregate project. is that possible?
root
|-- Project A
| |-- parent-pom.xml
| |-- pom.xml
|
|-- Project B
| |-- parent-pom.xml
| |-- pom.xml
|
|-- Project C
| |-- pom.xml
|