java - Reading POM's with its children -


On this basis it has been mentioned (by Brett Porter) that a PO can be read not only one pump I have to read the whole tree of palm in a multimodil build. The root is starting with POM and if it is possible, then the child should read the palm automatically? I need to do this in different Java code, not in relation with Maven. Maybe it's cheating small, but maybe you can run on Parent Palm by Runtime.ACAC (

mvn help: effective-pom , which will give you the Congestime POM file of the target palm called at that time, which you said jointly with your parents and modules To work, a single pam file will be given and you have to stop to search the module / parent yourself.

Maven is not enough to know itself with libraries how to create an effective POM originally without any introduction of Maven in the process, although I can not imagine that it is not possible is. If I get an opportunity to see, then I will do it and edit my answer accordingly.

[edit]

Here is a link to the effective PomMojo source code that shows how to help: EffectivePeam is generating that XML:. Hopes that helps ... though I am not aware that this Mojo is getting the list of its MavenProject object or MavenProject object which is the private sector.


Comments