0

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

1 Answers1

1

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

Sean Patrick Floyd
  • 292,901
  • 67
  • 465
  • 588