Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Refetching plugins from Target Platform

Hi,

On 06/21/2016 01:22 PM, Philipp.Fischer@xxxxxx wrote:
How is it possible to make tycho always look and fetch the very current version that is available on the p2?
The only reliable way I'm aware of is to use fully-qualified versions in your .target file and not add any other repository to the pom.xml. Then when upstream version change, you can update your .target file to make sure your build will pick the latest version.

For builds repeated quite often (such as CI builds), despite it takes more time, it's often better to start from a clean .m2 repo and use the "-U" flag to avoid being hit by caching issues.

Beware that if you have multiple versions of the same bundle, it's not necessarily the newer ones that "wins" in the dependency resolution: https://bugs.eclipse.org/bugs/show_bug.cgi?id=418546

HTH,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top