Support Ace development by replacing SNAPSHOT with tstamp
---------------------------------------------------------
Key: AMDATU-464
URL: http://jira.amdatu.org/jira/browse/AMDATU-464
Project: Amdatu
Issue Type: Improvement
Components: Amdatu Maven Plugin
Affects Versions: 0.3.0
Reporter: Bram de Kruijff
Ace does not allow artifacts with the same version to be uploaded twice or
updated. This is cumbersome when developing because the bundleplugin will
simply translate x.y.z-SNAPSHOT to x.y.z.SNAPSHOT (to conform to the OSGi
version scheme) every time a development version is build.
Thus we need to consider:
1) On each deploy of a SNAPSHOT version we must increment the Manifest
Bundle-Version header of the artifact we pass to ace AND the deployBundle mojo
must use the same Bundle-Version property when creating the artifact in the Ace
repository.
2) We can not use BND ${tstamp} support because this changed the final name of
the artifact (breaking Maven SNAPSHOT deployment) and requires manual managing
of the x.y.z.{tstamp} value in each and every pom.
Solution is to let the MOJO:
1) Check if it is a SNAPSHOT version artifact
2) Generate a timestamp using current time
3) Create a copy of the bundle using the timestamp
-> Replace -SNAPSHOT in the filename
-> Replace -SNAPSHOT in the manifest Bundle-Version
4) Deploy the copy with ace
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers