title: Tycho does not use target file from eclipse-target-definition project without version in the pom
body: <p>I have a problem with the Maven/Tycho mechanism to resolve dependencies from a .target file. I followed the information on <a href="https://wiki.eclipse.org/Tycho/Target_Platform#Target_files" rel="nofollow">https://wiki.eclipse.org/Tycho/Target_Platform#Target_files</a>, but do not get the expected results. Here are some facts:</p>
  
  <p>Target file:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;target name="Eclipse Kepler Target" sequenceNumber="1424335573"&gt;
  &lt;locations&gt;
      &lt;location includeMode="slicer" includeAllPlatforms="false" includeSource="false" includeConfigurePhase="false" type="InstallableUnit"&gt;
          &lt;unit id="org.eclipse.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.equinox.p2.sdk.feature.group"  version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.emf.transaction.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.emf.validation.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.emf.workspace.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.emf.workspace.source.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.emf.eef.sdk-feature.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.draw2d.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.gef.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.gmf.runtime.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.gmf.runtime.notation.sdk.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.acceleo.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.acceleo.source.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.ocl.feature.group" version="0.0.0"/&gt;
          &lt;unit id="org.eclipse.ocl.source.feature.group" version="0.0.0"/&gt;
          &lt;repository id="kepler" location="http://korvm016.apac.bosch.com/updatesites/thirdparty/eclipse_4.3_kepler/"/&gt;
      &lt;/location&gt;
      &lt;location includeMode="slicer" includeAllPlatforms="false" includeSource="false" includeConfigurePhase="false" type="InstallableUnit"&gt;
          &lt;unit id="com.google.inject" version="0.0.0"/&gt;
          &lt;unit id="com.google.inject.source" version="0.0.0"/&gt;
          &lt;unit id="com.google.inject.assistedinject.source" version="0.0.0"/&gt;
          &lt;unit id="com.google.inject.assistedinject" version="0.0.0"/&gt;
          &lt;unit id="com.google.inject.multibindings.source" version="0.0.0"/&gt;
          &lt;unit id="com.google.inject.multibindings" version="0.0.0"/&gt;
          &lt;unit id="com.google.guava" version="0.0.0"/&gt;
          &lt;unit id="com.google.guava.source" version="0.0.0"/&gt;
          &lt;unit id="javax.activation" version="0.0.0"/&gt;
          &lt;unit id="javax.activation.source" version="0.0.0"/&gt;
          &lt;unit id="org.aopalliance" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.cli" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.cli.source" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.collections" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.collections.source" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.exec" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.exec.source" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.httpclient" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.httpclient.source" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.io" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.io.source" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.lang" version="0.0.0"/&gt;
          &lt;unit id="org.apache.commons.lang.source" version="0.0.0"/&gt;
          &lt;unit id="org.junit" version="0.0.0"/&gt;
          &lt;unit id="org.junit.source" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.core.source" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.core" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.generator.source" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.generator" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.integration.source" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.integration" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.library.source" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.library" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.text.source" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest.text" version="0.0.0"/&gt;
          &lt;unit id="org.hamcrest" version="0.0.0"/&gt;
          &lt;unit id="org.mockito" version="0.0.0"/&gt;
          &lt;unit id="org.mockito.source" version="0.0.0"/&gt;
          &lt;unit id="org.objenesis" version="0.0.0"/&gt;
          &lt;unit id="org.objenesis.source" version="0.0.0"/&gt;
          &lt;unit id="ch.qos.logback.classic" version="0.0.0"/&gt;
          &lt;unit id="ch.qos.logback.classic.source" version="0.0.0"/&gt;
          &lt;unit id="ch.qos.logback.core" version="0.0.0"/&gt;
          &lt;unit id="ch.qos.logback.core.source" version="0.0.0"/&gt;
          &lt;unit id="ch.qos.logback.slf4j" version="0.0.0"/&gt;
          &lt;unit id="ch.qos.logback.slf4j.source" version="0.0.0"/&gt;
          &lt;unit id="org.slf4j.api" version="0.0.0"/&gt;
          &lt;unit id="org.slf4j.api.source" version="0.0.0"/&gt;
          &lt;repository id="orbit" location="http://korvm016.apac.bosch.com/updatesites/thirdparty/orbit-buildrepo-R20140525021250/"/&gt;
       &lt;/location&gt;
  &lt;/locations&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>The pom-File for the target module:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
      xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.etas.congra.releng&lt;/groupId&gt;
      &lt;artifactId&gt;com.etas.congra.releng.targetplatform&lt;/artifactId&gt;
      &lt;packaging&gt;eclipse-target-definition&lt;/packaging&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I do not have a version in here, because I found a page in the web which told the story that a version in the pom for the eclipse-target-packaging does not work and in fact, specifying a version resulted in not resolving the following configuration in the parent pom used for all other maven modules:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugins&gt;
  &lt;plugin&gt;
      &lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt;
      &lt;artifactId&gt;target-platform-configuration&lt;/artifactId&gt;
      &lt;version&gt;${tycho-version}&lt;/version&gt;
      &lt;configuration&gt;
          &lt;target&gt;
              &lt;artifact&gt;
                  &lt;groupId&gt;com.etas.congra.releng&lt;/groupId&gt;
                  &lt;artifactId&gt;com.etas.congra.releng.targetplatform&lt;/artifactId&gt;
                  &lt;relativePath&gt;../../releng/com.etas.congra.releng.targetplatform/pom.xml&lt;/relativePath&gt;
              &lt;/artifact&gt;
          &lt;/target&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>
  
  <p>With this in place I get the following error message during the maven build:</p>
  
  <pre class="lang-text prettyprint-override"><code>[INFO] Scanning for projects...
  [INFO] Computing target platform for MavenProject: com.etas.congra.releng:com.etas.congra.log:0.1.0-SNAPSHOT @ D:\ConGra_IDE_Luna_win64\git\congra\plugins\com.etas.congra.log\pom.xml
  [INFO] Resolving dependencies of MavenProject: com.etas.congra.releng:com.etas.congra.log:0.1.0-SNAPSHOT @ D:\ConGra_IDE_Luna_win64\git\congra\plugins\com.etas.congra.log\pom.xml
  [INFO] Cannot complete the request.  Generating details.
  [INFO] Cannot complete the request.  Generating details.
  [INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86_64, org.eclipse.update.install.features=true}
  [ERROR] Cannot resolve project dependencies:
  [ERROR]   Software being installed: com.etas.congra.log 0.1.0.qualifier
  [ERROR]   Missing requirement: com.etas.congra.log 0.1.0.qualifier requires 'bundle ch.qos.logback.classic 1.0.7' but it could not be found
  [ERROR]
  </code></pre>
  
  <p>It cannot resolve dependencies to artifacts from the target file, although the target works properly in the Eclipse workspace and if all repositories mentioned in the target files are expressed as repository tags in the pom file, the build also works.</p>
  
  <p>Has anybody an idea what is wrong in my configuration?</p>