New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mindthegab opened this Issue Jul 20, 2014 · 4 comments

Comments

Projects
None yet
1 participant
@mindthegab
Contributor

mindthegab commented Jul 20, 2014

From damonr...@gmail.com on July 14, 2008 14:36:36

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: http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=4

@mindthegab

This comment has been minimized.

Contributor

mindthegab commented Jul 20, 2014

From damonr...@gmail.com on July 16, 2008 02:49:47

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}

Labels: -Type-Defect Type-Enhancement

@mindthegab

This comment has been minimized.

Contributor

mindthegab commented Jul 20, 2014

From colum...@gmail.com on July 28, 2008 00:40:46

Nice. Did you commmit the fix? Can I/you close the issue?

Owner: damonrand
Cc: columbro

@mindthegab

This comment has been minimized.

Contributor

mindthegab commented Jul 20, 2014

From damonr...@gmail.com on July 29, 2008 07:04:38

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.

@mindthegab

This comment has been minimized.

Contributor

mindthegab commented Jul 20, 2014

From damonr...@gmail.com on July 29, 2008 08:04:17

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment