[ https://issues.apache.org/jira/browse/FELIX-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch updated FELIX-1633: ------------------------------------ Fix Version/s: maven-bundle-plugin-2.4.0 > Change -snapshot by the build number in the generated OBR description > --------------------------------------------------------------------- > > Key: FELIX-1633 > URL: https://issues.apache.org/jira/browse/FELIX-1633 > Project: Felix > Issue Type: Improvement > Components: Maven Bundle Plugin > Reporter: Clement Escoffier > Fix For: maven-bundle-plugin-2.4.0 > > > When deploying a snapshot bundle on OBR, the generated version is the > artifact version such as: 0.7.0-SNAPSHOT. However, if we redeploy another > version without increasing the version to 0.7.1-SNAPSHOT, the OBR keeps the > same version. So, it is not possible to update the bundle has it's the same > version. > This improvement propose to replace -SNAPSHOT in the generated version by the > build number (contained in the deployed maven metadata). It will give > something like: 0.7.0-000001. The next deployment will be something like: > 0.7.0-000002. We can't directly use the time stamp as we need to be compliant > with the OSGi versionning scheme and order. > The resource id can still use SNAPSHOT (so, next deployment with replace the > previous description) or can be also replaced. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira