views:

24

answers:

1

Hi all,

How do 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

A: 

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

seanizer
Cool - that was easy.