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.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes