title: Maven install fails to import Selenium .jar from repo
body: <p>I am trying to run the <a href="http://docs.seleniumhq.org/docs/03_webdriver.jsp#introducing-webdriver" rel="nofollow">basic Selenium example.</a> have specified the pom.xml as such, to include an entry point for an executable .jar:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;MySel20Proj&lt;/groupId&gt;
      &lt;artifactId&gt;MySel20Proj&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.6&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;archive&gt;
                          &lt;manifest&gt;
                              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                              &lt;mainClass&gt;main.java.SeleniumTest&lt;/mainClass&gt;
                          &lt;/manifest&gt;
                      &lt;/archive&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
              &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
              &lt;version&gt;2.48.2&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I can run a Maven install; however, when I execute the jar containing sample code from the Selenium tutorial, I receive a NoClassDefFoundError: /org/openqa/selenium/webdriver, suggesting that the Maven install of the selenium-java jar has failed.</p>
  
  <p>Is there a way to resolve this without adding the selenium jars to the local classpath? It seems that solutions to this not building from Maven Central are considered harmful.</p>