views:

100

answers:

2

Hi all,

What I would like to do is automatically test against several different maven build profiles. I want to write a maven plugin that iterates through each profile so I don't have to manually list them for the CI process. I just want to verify that the code works in all development, testing, staging, and production once deployed there.

I want it to automatically test against those profiles so I could keep it a part of the same maven build? How would I best set that up to log those changes in Sonar or another tool?

Walter

A: 
mvn clean jetty:run
ponzao
sorry I wasn't very descriptive, I already knew that :)
Ah okay, after I answered I realized this might not be what you were asking, but it was still my best guess :)
ponzao
A: 

Ok, what I wanted was to programmatically redeploy the application whenever I see fit. I can do this with the maven embedder plugin.