I am facing a unique issue -
I have a plugin dependency which is present in multiple repositories. The version number is same just the snapshot qualifier( time-stamp is different ).
Is there a way I can force Maven/Tycho to prefer the snapshot from a particular repository?
EDIT : They are P2 plugin repositories created for Eclipse PDE Build
You can specify a filter on the target platform to remove all but one version:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<filters>
<filter>
<type>eclipse-plugin</type>
<id>id.of.dependency</id>
<restrictTo>
<version>1.2.3.2014020241355</version>
</restrictTo>
</filter>
</filters>
</configuration>
<plugin>