I have several modules in my project, and they depend on each other both directly and transitively. When I create "Project A", where "Project D" is automatically created.
Project A > Project B > Project C > Project D where > means Project B depends on Project A
"Project D" pom snipeet:
<project xmlns="..."> <modelVersion>4.0.0</modelVersion> <groupId>com.myProduct</groupId> <artifactId>build-MyProjectD</artifactId> <name>MyProjectD</name> ........ </project>
Since the building “Project A” automatically creates “Project B”, in my understanding, for this to happen somewhere, build-MyProjectD should be added as a dependency in one of these projects Project A > Project B > Project C , but I don’t found links to the build-MyProjectD under the poses of these projects.
Any idea how there is another way to create a child module (in this case, "Project D") without having a child artifactId in the upstream project?
source share