On Sat, Nov 27, 2010 at 7:24 AM, Antonio Petrelli <[email protected]> wrote: > As Kalle said, use a profile for this. For a real world example, take > a look at Tiles test webapp POM: > http://svn.eu.apache.org/repos/asf/tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml > In particular, see the "run-selenium" profile.
Thanks Antonio.. Now that you mention it, I remember that the Tiles project used profiles. I was just not thinking clearly when I started adding my own configuration. In case anyone else runs across this post in the future, the excellent instructions that I used for setting up Selenium tests is http://www.vineetmanohar.com/2007/06/maven-selenium/#How_to_run_selenium_tests_in_integration_test_phase His instructions use Selenium/Junit tests, the Selenium plugin to start the Selenium server (not Selenese like Tiles does it) and Cargo to automatically deploy the webserver. They are very well written instructions. Some of the dependencies are a bit out of date now, so I had to do some searching through the Maven repos to find the correct libraries. -- Greg Akins http://insomnia-consulting.org http://www.pghcodingdojo.org http://pittjug.dev.java.net http://twitter.com/akinsgre http://www.linkedin.com/in/akinsgre --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
