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. :-)
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. :-)
精彩评论