Maven FAQ and code snippets for beginners

I have been using Maven with eclipse for two years and have found many simple and useful maven plugins and features like automatically downloading java sources, javadocs, running in an embedded container, importing the project to eclipse. Here’s a list of some useful code snippets and use case scenarios that I hope other maven beginners would find useful.

The plugin ‘org.codehaus.mojo:selenium-maven-plugin’ does not exist or no valid version could be found

The latest snapshot of selenium-maven-plugin does not work with the maven version < 2.0.9. If your maven seleinum plugin stops working and you get this error, you may have an older version of maven and you’ll need to upgrade you maven version to 2.0.9 or higher to fix this error.

Maven Selenium

Our goal: compile the app run non-selenium unit tests package your app into a .war file start a test container (jetty or tomcat) deploy your app to the test container start a browser point the browser to the app running in the test container test your application through the browser. these tests are junit tests [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes