"Maven: The Definitive Guide" should have a chapter on the Release Plugin
In response to "We’re Taking Requests" (http://blogs.sonatype.com/people/2009...), here is my suggestion.
Surely there must be a simple way for Maven to sanity check your code to see that it is properly checked in, test that your test suite runs correctly, tag your release, bump up the version numbers on all the files in source control to the next version number, check out a pristine copy of your tag, build the code, deploy the code to your release repository, build the documentation, upload the documentation for your release to your documentation website, all in one easy and pain free step. There is: "mvn release:prepare release:perform"!
This useful feature is all thanks to the Release plugin, yet "Maven: The Definitive Guide" has no information about it. It isn't even listed in the index. This is unfortunate, because encountering the Release plugin for the first time is often when developers finally "get" Maven. It deserves more attention in the Maven book; I think an entire chapter should be devoted to it.
Surely there must be a simple way for Maven to sanity check your code to see that it is properly checked in, test that your test suite runs correctly, tag your release, bump up the version numbers on all the files in source control to the next version number, check out a pristine copy of your tag, build the code, deploy the code to your release repository, build the documentation, upload the documentation for your release to your documentation website, all in one easy and pain free step. There is: "mvn release:prepare release:perform"!
This useful feature is all thanks to the Release plugin, yet "Maven: The Definitive Guide" has no information about it. It isn't even listed in the index. This is unfortunate, because encountering the Release plugin for the first time is often when developers finally "get" Maven. It deserves more attention in the Maven book; I think an entire chapter should be devoted to it.
7
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
The company has this in progress.
-
Inappropriate?Ok, this is next for us. I've got some documentation on the Release Plugin that I'm going to put into the book very shortly.
1 person thinks
this is one of the best points
-
Inappropriate?There should also be discussion on how to use the release plugin with multi-module projects where it inherently has quirks (maybe there addressed now).
Loading Profile...



EMPLOYEE
