[ 
https://issues.apache.org/jira/browse/UIMA-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778846#comment-13778846
 ] 

Peter Klügl edited comment on UIMA-3272 at 9/26/13 2:58 PM:
------------------------------------------------------------

I played a bit around with 
{noformat}<_snapshot>${maven.build.timestamp}</_snapshot>{noformat} in the 
config of the maven-bundle-plugin, which replaces the snapshot in the manifest, 
but m2e instantly breaks the version again in the manifest. I do not know why 
m2e is not able to do it correctly. If this works, then we could maybe also 
specify the final name with the timestamp and then add this manually in the 
update site (you would only need to update the timestamp when you build the 
update site). The artifact would not contain the time stamp, but the update can 
add it again. I have properties for such stuff in the ruta update site. 
However, one step in build process of the update site removes the timestamp 
again and replaces it with snapshot. toBePacked and eus-work are correct (with 
timestamp), but eclipse-update-site/ruta/plugins uses snapshot...
                
      was (Author: pkluegl):
    I played a bit around with <_snapshot>${maven.build.timestamp}</_snapshot> 
in the config of the maven-bundle-plugin, which replaces the snapshot in the 
manifest, but m2e instantly breaks the version again in the manifest. I do not 
know why m2e is not able to do it correctly. If this works, then we could maybe 
also specify the final name with the timestamp and then add this manually in 
the update site (you would only need to update the timestamp when you build the 
update site). The artifact would not contain the time stamp, but the update can 
add it again. I have properties for such stuff in the ruta update site. 
However, one step in build process of the update site removes the timestamp 
again and replaces it with snapshot. toBePacked and eus-work are correct (with 
timestamp), but eclipse-update-site/ruta/plugins uses snapshot...
                  
> Add timestamp to Eclipse plugin versions
> ----------------------------------------
>
>                 Key: UIMA-3272
>                 URL: https://issues.apache.org/jira/browse/UIMA-3272
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Eclipse plugins, ruta
>            Reporter: Richard Eckart de Castilho
>
> When we do release candidates, we can currently not upgrade an Eclipse from 
> one candidate to the next one from the update site, because the version does 
> not change. Many Eclipse bundles bear an additional timestamp after the 
> version. It would be great to have this as well for our plugin to facilitate 
> RC testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to