title: Tycho cannot resolve dependency configured in tycho-surefire-plugin
body: <p>I'm working on an Eclipse RCP + Maven project for the first time and I want to run some unit tests on my bundles with JUnit. It seems that the most recommended approach is to create a bundle fragment and use something like Tycho plugin to resolve dependencies. However, when I run <code>mvn clean verify</code> in my master pom, it should run the tests and deploy my application, but I'm get the following error instead:</p>
  
  <pre><code>[ERROR] Cannot resolve project dependencies:
  [ERROR]   You requested to install 'myproject.app.feature.feature.group 1.0.0' but it could not be found
  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.21.0:test (default-test) on project myproject.app.viewmanager-test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.21.0:test failed: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from tycho-extra-1408913392535 0.0.0.1408913392535 to myproject.app.feature.feature.group 1.0.0.; Unable to satisfy dependency from tycho-1408913392552 0.0.0.1408913392552 to myproject.app.feature.feature.group 1.0.0.; No solution found because the problem is unsatisfiable.] -&gt; [Help 1]
  </code></pre>
  
  <p>I understand that Maven is failing to find 'myproject.app.feature.feature.group 1.0.0' but I don't know where it is getting this from because it seems that the name is wrong.</p>
  
  <p>It might be worth to say that when I run the unit test inside Eclipse (not with Maven) it works.</p>
  
  <p>This is the Tycho configuration in my test fragment:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt;
      &lt;artifactId&gt;tycho-surefire-plugin&lt;/artifactId&gt;
      &lt;version&gt;${tycho-version}&lt;/version&gt;
      &lt;configuration&gt;
          &lt;useUIHarness&gt;true&lt;/useUIHarness&gt;
  
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;type&gt;eclipse-feature&lt;/type&gt;
                  &lt;artifactId&gt;myproject.app.feature&lt;/artifactId&gt;
                  &lt;version&gt;1.0.0&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
  
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>As suggested <a href="https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-test-plugin" rel="nofollow noreferrer">here</a>, I'm adding the feature as a dependency because my test fragment requires some other bundles besides its host, so I was expecting this to work.</p>
  
  <p>Any tips? The most similar issue I have found is <a href="https://stackoverflow.com/questions/17591939/tycho-cannot-resolve-project-dependencies">this one</a>, but both solutions didn't work for me.</p>