I have the following projects organized in a flat structured way:
parentProject
+-pom.xml
projectWeb <depends on libraryA and libraryB>
+-pom.xml
libraryA
+-pom.xml
libraryB
+-pom.xml
In pom.xml, inside the parent project, there are links to other modules and it is used to inherit and manage dependencyManagement, here is a snippet:
<project>
....
<modules>
<module>../projectWeb</module>
<module>../libraryA</module>
<module>../libraryB</module>
</modules>
<dependencyManagement>
...
</dependencyManagement>
<build>
...
</build>
....
</project>
In Jenkins , I have one maven job for each project, and it works fine when I create parentProject, i.e. builds each project specified in the section modules. The problem that I encountered when I pass the SVN change to libraryA, I would expect that after creating library A, a restart will occur projectWeb, but this did not happen. Does anyone know what I'm doing wrong?
Thanks in advance.
EDIT
modules parentProject\pom.xml, , pom.