Is there an easy way to figure out, preferably from the command line, what profiles are available for a particular project. I've got a big, multi-module project I'm trying to figure out.
+2
A:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
Look at the heading: How can I tell which profiles are in effect during a build?
Another way to do it is to use grep or XPath to search for all of the nodes.
In xpath it would be [code]\profile\id[/code]
In grep it gets a little more dicey since you have to assume that the tag is on the line following the tag.
leeand00
2008-12-09 21:50:44
Well that's maven2 anyway...
leeand00
2008-12-09 21:51:10
+3
A:
leeand00 set me on the correct path. What I was looking for is help:all-profiles
sblundy
2008-12-09 22:08:35