How do I obtain a fully resolved Model of a pom file?

前端 未结 6 490
时光取名叫无心
时光取名叫无心 2021-01-30 11:40

How do I obtain a fully resolved Model of a pom file?

This is basically a rephrasing of How can i programmaticaly build the effective model of a pom file?

I\'m b

6条回答
  •  粉色の甜心
    2021-01-30 12:38

    The source code you seek is in help:effective-pom, somewhere.

    --- Edit update ---

    After a quick glance, it would seem that you would need to build a Maven Project from the read pom. This likely will involve a number of steps that include resolution of the parent project of the POM, downloading and parsing other Maven plugin artifacts and wiring all of the references together.

    Reading the child-level pom alone won't do it.

提交回复
热议问题