http://maven.40175.n5.nabble.com/Git-as-the-canonical-SCM-td5719980.html#a5720106

Wow, 3 years ago and almost on its anniversary...

Many years ago there was talk about a "magic" plugin that would help you
checkout the "vertical" stack of a plugin and its been an itch I've been
meaning to scratch.

After investigation the SCM plugin checkout goal is very close to providing
this functionality. By frankensteining versions-maven-plugin and the next
snapshot number scheme from release-maven-plugin creating this features was
not too difficult.

I've not yet got around to learning how to use apache's git for committer
access, and I didn't want to pollute the current code base just yet, so
I've hacked this over at github.

Please have a look at
https://github.com/baerrach/maven-scm/tree/bt-magic-checkout

and let me know if it works as you would expect.

Things I'm not sure about:
* bolting this on to scm:checkout (I think its appropriate)
* using -DartifactCoords instead of -DGAV
* detailed enough documentation
*
https://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html
support
* Proper handling of pom files, ala
https://maven.apache.org/plugin-developers/common-bugs.html#Reading_and_Writing_Text_Files
* whether I've duplicate code that exists somewhere else that should be
used instead.

Cheers
Barrie

Reply via email to