title: After adding some new packages in the pom Eclipse doesn't allow me to Run As Scala Application
body: <p>I am facing a weird situation with Eclipse Oxygen. I did as follow:</p>
  
  <ul>
  <li>Created a Maven Project</li>
  <li>Added Scala Nature</li>
  <li>Changed Scala compiler to 2.10.6</li>
  <li>Added a dummy hello world object </li>
  </ul>
  
  <p>like:</p>
  
  <pre><code>object SSHbaseApp extends App{
    println("Running SSHbaseApp...")
  }
  </code></pre>
  
  <p>And Eclipse gave me the option to Run As... Scala Application</p>
  
  <p>Then I added a few packages in the pom:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;net.ceedubs&lt;/groupId&gt;
      &lt;artifactId&gt;ficus_${scala.compat.version}&lt;/artifactId&gt;
      &lt;version&gt;0.1.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>The I Run As... Maven Install and I then eclipse doesn't give me the option of Run As Scala Application any more.</p>
  
  <p>I commented out these two packages I added in the POM, repeat the Maven Install and then I am able to keep running as Scala Application.</p>
  
  <p>Anyone knows why this may be happening?</p>
  
  <p>The whole POM.xml looks like this now:</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;com.ignacioalorre&lt;/groupId&gt;
      &lt;artifactId&gt;SparkStreamingHbaseSandbox&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;SparkStreamingHbaseSandbox&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
      &lt;properties&gt;
          &lt;scala.compat.version&gt;2.10&lt;/scala.compat.version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.typesafe&lt;/groupId&gt;
              &lt;artifactId&gt;config&lt;/artifactId&gt;
              &lt;version&gt;1.2.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.ceedubs&lt;/groupId&gt;
              &lt;artifactId&gt;ficus_${scala.compat.version}&lt;/artifactId&gt;
              &lt;version&gt;0.1.1&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependency&gt;
  
  
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>