QuickTip: maven jetty plugin issue

The following issue is encountered most of the times in maven war projects when you type “mvn clean jetty:run” in the command line and hope to see your WAR project deployed on jetty but instead you get the dreaded error.

[INFO] ————————————————————————
[INFO] The plugin ‘org.apache.maven.plugins:maven-jetty-plugin’ does not exist or no valid version could be found
[INFO] ————————————————————————
[INFO] For more information, run Maven with the -e switch

The easiest way to fix this issue is to give complete info about the jetty plugin in the command line and deploy your WAR file i.e.
mvn org.mortbay.jetty:maven-jetty-plugin:run

The above command should fix your problem.