Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] SNAPSHOT in update site is not updated

It seems that you are using the non-snapshot (!) version X.Y.Z.SNAPSHOT.

 

You need to use X.Y.Z-SNAPSHOT as Maven version, and X.Y.Z.qualifier in the Eclipse metadata files (META-INF/MANIFEST.MF, feature.xml, *.product, …). Then, the “qualifier” is replaced by a timestamp during the build of the artifact.

 

It is not possible to change the qualifiers in the eclipse-repository module; see http://stackoverflow.com/questions/15441953/how-to-change-the-qualifier-in-the-file-names-of-plugins-and-features

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Julien HENRY
Sent: Freitag, 12. April 2013 17:15
To: Tycho user list
Subject: [tycho-user] SNAPSHOT in update site is not updated

 

Hi,

 

We are building an update site for the Sonar plugin and we have a dependency on another pom first artifact that is currently a SNAPSHOT. This artifact is built locally and then the Sonar Eclipse project is built.

 

As a result we ended with a plugin named artifact-X.Y.Z.SNAPSHOT.jar in the update site. Once installed in Eclipse, there is no way to update it. Even if we rebuild the artifact then rebuild Sonar Eclipse, the plugin always has the same version artifact-X.Y.Z.SNAPSHOT.jar so when doing a check for update in Eclipse it is not updated.

 

Is there a solution to tell Tycho to replace every .SNAPSHOT by a unique timestamp when creating the update site?

 

Thanks

 

Julien


Back to the top