title: Unable to execute dex: Multiple dex files define Lorg/apache/maven/artifact/Artifact
body: <p>I have an Android project with Robolectric.</p>
  
  <p>My application related classes are placed in <code>src/main/java</code> and test related classes in <code>src/test/java</code>.</p>
  
  <p>I have these test dependencies in my <code>pom.xml</code></p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.robolectric&lt;/groupId&gt;
              &lt;artifactId&gt;robolectric&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>When building and deploying from console with <code>mvn package android:deploy</code> everything is ok. 
  Problem occurs when launching project from Eclipse (Juno).</p>
  
  <pre><code>[2013-03-24 12:27:26 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/apache/maven/artifact/Artifact;
  [2013-03-24 12:27:26 - my-app] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/apache/maven/artifact/Artifact;
  </code></pre>
  
  <p>It appears that dependencies that are required for Robolectric only are included. What am I doing wrong?</p>