 <blockquote> <p>I was wondering whether it is possible to use Maven2 to automatically configure a Glassfish 2.1 with JNDI Resources, Datasources and Mail-Sessions for my integration tests.</p> </blockquote> <p>I'm not sure Cargo does provide anything to configure Mail-Sessions. And anyway, from what I can see in <a href="http://cargo.codehaus.org/DataSource+and+Resource+Support" rel="nofollow noreferrer">DataSource+and+Resource+Support</a>, there is no support at all for GlassFish. I'd simply configure the installed container against which you run your integration tests.</p> <blockquote> <p>Also I wonder whether it is possible to create some sort of benchmarks that might then be tracked using continuum or Hudson.</p> </blockquote> <p>You could run <a href="http://jakarta.apache.org/jmeter/" rel="nofollow noreferrer">JMeter</a> performance tests. Hudson has a <a href="http://wiki.hudson-ci.org/display/HUDSON/Performance+Plugin" rel="nofollow noreferrer">Performance Plugin</a> allowing to generate a trend graphic report from the results. Also maybe have a look at <a href="http://jchav.blogspot.com/" rel="nofollow noreferrer">JChav</a> (seems dormant though).</p>