I have maven mojo plugin to get all Absolute path for module. I have sample application with 3 modules and each module has 3 sub modules example.
--Parent module-- Module 1--- --> In this pom i dont have Parent Artifacts. Child1 Module1 --> Child2 Module1 --> Child3 Module1 --> Module 2 --- has parent Artifact Child1 Module2 --> Child2 Module2 --> Child3 Module2 --> Module 3 ---- POM Has parent artifcat Child1 Module3 --> Child2 Module3 --> Child3 Module3 -->
When mojo exection starts when it reaches Module1 how to get Parent Artifact in Module1 and i can get Parent Artifact in Module 2 and Module 3 but not inside module 1 please help. Note: I cant able to add Parent Artifact in Module 1 if i added i can get but i need without adding Parent Artifact