Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] evaluate Aether-retrieved POM?

Max Spring wrote:

After I have resolved an artifact successfully with Aether is there a
way I can access other elements of that artifact's POM?
E.g. like the URL or SCM element of the POM.

No, you need to reach out to the ModelBuilder component from maven-model-builder.

Because I can get the dependencies of an artifact via Aether, I would
assume that Aether does some POM evaluation / interpolation
to calculate the correct dependency values. I'm therefore guess that I
may be able to access the entire POM DOM.

The thought is generally not wrong but there is currently no means in the API that would allow you to grab the POM DOM that was used for the dependencies.


Benjamin


Back to the top