My maven profiles effect the output of my artifacts. Specifically the maven profile inserts certain database connection properties into my WEB-INF/persistence-context.xml which vary between production and development.
On the Project Structure -> Artifacts tab I have two options. web:war and web:war exploded. I'm using web war:exploded, and that works fine, but I want to be able to specify a particular maven profile to use when putting together the web war:exploded artifact. Is there a way to do that?