Max,

This is how it is supposed to work. tycho.targetPlatform property *overrides* target platform specified in the poms. You can use <systemPath>${some.other.property}</systemPath>, if you want to specify eclipse installation on command line and resolve additional dependencies from maven repository at the same time.

--
Regards,
Igor Fedorenko

Max Spring wrote:
When I explicitly set the tycho.targetPlatform property on the command line,
Tycho seems to no longer lookup artifacts from the Maven repository.

  mvn ... -Dtycho.targetPlatform=/path/to/my/targetPlatform

On the other hand, if I set the targetPlatform directory in my dependencyManagement's dependency,
Tycho does lookup artifacts from the Maven repository.

  <dependency>
       <groupId>eclipse.org</groupId>
       <artifactId>installation</artifactId>
       <version>0.0.0</version>
       <type>eclipse-installation</type>
       <scope>system</scope>
       <systemPath>/path/to/my/targetPlatform</systemPath>
  <dependency>

I was under the assumption that both ways are equivalent.
What's going on here?
-Max



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to