DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Document is unclear on use of -SNAPSHOT version numbers #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a note in pom.xml that says Alfresco doesn't support alpha
characters in AMP version numbers. Its not clear from this note why this is
the case and whether it is possible to use Maven snapshoting. A recommended
solution should be added to this comment..

===============
    <!-- No shapshot or beta version, as this is used for filtering
module.properties

    As in http://wiki.alfresco.com/wiki/Developing_an_Alfresco_Module:

    "The version number must be made up of numeric values separated by dots.
For example '2.1.56' is a valid version number, '2.3.4a' is not. "

    If you want to use (and I do) maven snapshot capabilities than you could
    remove the filtering and maintaining versions (pom and module.properties)
aligned manually
     -->
====================== 

Original issue reported on code.google.com by damonr...@gmail.com on 14 Jul 2008 at 6:36

GoogleCodeExporter commented 9 years ago
I've managed to convert to using snapshots by using the 
buildnumber-maven-plugin.
http://mojo.codehaus.org/buildnumber-maven-plugin/

In module.properties I now have
module.version=${buildNumber}.${timestamp}

Original comment by damonr...@gmail.com on 16 Jul 2008 at 9:49

GoogleCodeExporter commented 9 years ago
Nice. Did you commmit the fix? Can I/you close the issue?

Original comment by colum...@gmail.com on 28 Jul 2008 at 7:40

GoogleCodeExporter commented 9 years ago
Hi Gabriele, I've committed my change now. Can you review it and let me know if 
you
think its a good general solution.

Damon.

Original comment by damonr...@gmail.com on 29 Jul 2008 at 2:04

GoogleCodeExporter commented 9 years ago

Original comment by damonr...@gmail.com on 29 Jul 2008 at 3:04