开发者

Maven Embedder - getting a list of profiles

How do 开发者_JAVA技巧I get a list of all the profiles for a project in maven inside of a maven plugin?

Would it be:

MavenEmbedder.readModel(new File("path to pom.xml")).getProfiles();

Walter


Uh, that was easy. The answer is: yes. :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜