title: Missing Maven Plugin Jetty
body: <p>I am having trouble folowing this <a href="http://hrycan.com/2012/03/28/primefaces-lazy-loading-datatable-for-jsf2/" rel="noreferrer">http://hrycan.com/2012/03/28/primefaces-lazy-loading-datatable-for-jsf2/</a></p>
  
  <p>It says I should just run</p>
  
  <pre><code>mvn jetty:run
  </code></pre>
  
  <p>but I keep on encountering this error.</p>
  
  <pre><code>org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found
  for prefix 'jetty' in the current project and in the plugin groups [org.apache.m
  aven.plugins, org.codehaus.mojo] available from the repositories [local (C:\MyRepo), central (http://repo1.maven.org/maven2)]
          at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.r
  </code></pre>
  
  <p>I used Maven 3 here.</p>
  
  <p>Any thoughts?</p>
  
  <p>ADD:</p>
  
  <p>From the link, it has this already in the pom.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt;
      &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
      &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;7.5.1.v20110908&lt;/version&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;${mysql.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/plugin&gt;
  </code></pre>