title: NoClassDefFoundError during Maven Build
body: <p>I'm attempting to make a Bukkit plugin with this tutorial:
  <a href="http://wiki.bukkit.org/Plugin_Tutorial" rel="nofollow">http://wiki.bukkit.org/Plugin_Tutorial</a></p>
  
  <p>Everything's great, except when I try to build the project with Maven in any way (Clean, Build, Test), it gives me this error:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: org/eclipse/osgi/internal/baseadaptor/DevClassPathHelper
  at org.eclipse.m2e.core.internal.embedder.MavenEmbeddedRuntime.addBundleClasspathEntries(MavenEmbeddedRuntime.java:193)
  at org.eclipse.m2e.core.internal.embedder.MavenEmbeddedRuntime.initClasspath(MavenEmbeddedRuntime.java:127)
  at org.eclipse.m2e.core.internal.embedder.MavenEmbeddedRuntime.createLauncherConfiguration(MavenEmbeddedRuntime.java:107)
  at org.eclipse.m2e.internal.launch.MavenRuntimeLaunchSupport.create(MavenRuntimeLaunchSupport.java:119)
  at org.eclipse.m2e.internal.launch.MavenLaunchDelegate.launch(MavenLaunchDelegate.java:70)
  at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
  at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
  at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
  at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
  Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.internal.baseadaptor.DevClassPathHelper cannot be found by org.eclipse.m2e.core_1.4.0.20130601-0317
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
      at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      ... 10 more
  </code></pre>
  
  <p>My pom.xml is as follows:</p>
  
  <pre><code>    &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;io.github.learning25&lt;/groupId&gt;
    &lt;artifactId&gt;TestPlugin&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&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-compiler-plugin&lt;/artifactId&gt;
                &lt;configuration&gt;
                    &lt;source&gt;1.7&lt;/source&gt;
                    &lt;target&gt;1.7&lt;/target&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
     &lt;/build&gt;
      &lt;repositories&gt;
         &lt;repository&gt;
             &lt;id&gt;bukkit-repo&lt;/id&gt;
             &lt;url&gt;http://repo.bukkit.org/content/groups/public/&lt;/url&gt;
         &lt;/repository&gt;
     &lt;/repositories&gt;
     &lt;dependencies&gt;
         &lt;dependency&gt;
             &lt;groupId&gt;org.bukkit&lt;/groupId&gt;
             &lt;artifactId&gt;bukkit&lt;/artifactId&gt;
             &lt;version&gt;1.6.4-R2.0&lt;/version&gt;
             &lt;type&gt;jar&lt;/type&gt;
             &lt;scope&gt;compile&lt;/scope&gt;
         &lt;/dependency&gt;
     &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>