Hello everyone,

In my current project we are implementing an algorithm which gets as input the 
location of a Maven project "B" and tries to load all the compiled classes 
(including its dependencies) into a customized URLClassLoader.

We have been able to load all the dependencies from the current Maven project B 
because we have the pom.xml. Our problem is the following:

If project B is a submodule of a parent project A, project A may define other 
modules like C or D. We need to load also the compiled classes and dependencies 
from C and D because B is using some of its libraries.

My question is: is there an API for recursively reading parent POMs as long as 
they come from the local disc and collect all modules building the project 
reactor? of if that all has to be written by hand?

Thank you so much for your time.

Yours faithfully,

Jaime Díaz.



[cid:[email protected]]Jaime Díaz González
devonfw core team member / European Industrial Center
Junior Consultant
AD Center Valencia

[cid:[email protected]][cid:[email protected]]
Capgemini Spain | Valencia
Tel.: +34 961 041 850
www.capgemini.com<http://www.capgemini.com/>

Edificio Europa, Avenida Aragón, 30. 46021 Valencia

devonfw is the CSD standard platform for Capgemini APPS2.
It provides a standardized architecture blueprint for web and Java and .NET 
applications,
an open best-of-breed technology stack as well as industry proven best 
practices and code
conventions. It is an industrialization initiative (iCSD) that is aligned 
across Capgemini APPS2.

You can find more information at: http://devonfw.com<http://devonfw.com/>

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

Reply via email to