Better Builds with Maven has been available for a few years now, initially to those who registered on the web site and then available as a freely downloadable PDF. However, now it is finally available to read online as HTML, bookmark, etc. (in addition to the PDF download). It has also been relicensed under a Creative Commons license.
While the book is now somewhat dated and there are newer alternatives available, the information is still relevant. It has had minor updates as it moved homes several times over the last few years.
I hope you find this useful!
Categories: Continuum · MaestroDev · Maven · Syndicated
Tagged: book
As I’ve blogged previously, I’m gearing up again to present my training session Apache Maven: End-to-end at ApacheCon US in Oakland in just a few weeks now. There are still spots available, so go ahead and register from the ApacheCon US site. Noirin offers some tips on how to justify ApacheCon to your boss.
The training session is hands on – all of the software and material is distributed on CDs and we spend some time digging into Maven and development infrastructure in a variety of ways.
Apart from the standard training material, there is the opportunity to work through some specific questions for your environment if it is something that interests the whole group, and of course those discussions can be continued over the rest of the time at the conference.
Hope to see you there!
Categories: Apache · Archiva · Continuum · Maven
Tagged: apachecon, training
September 30, 2009 · 1 Comment
When I announced the release of the book last week, I neglected to mention that there is a sample chapter online. It is available from the book’s site, but can be directly downloaded as a PDF:
There is also an excerpt online if you don’t like PDF.
While it does stand alone, the examples are also worked in to the context of the sample project used throughout the book where appropriate.
This chapter was a late inclusion, but turned out to be one of my favourites. While it doesn’t cover all the useful Maven plugins (many such as the Enforcer and Assembly plugins are picked up elsewhere in the book), it highlights some that aren’t always well known or used:
- The Remote Resources plugin – and particularly the right pattern for including a package of reusable resources
- The Build Number plugin
- The Shade plugin – a very useful way to handle redistributing JARs and “uberJARs” and reducing dependency and classloading issues
- The Build Helper plugin – useful bits and pieces like additional artifacts to deploy and reserved network ports for tests
- The AntRun plugin (and other scripting languages) – how to still use Ant without the guilt of violating The Maven Way!
- The Exec plugin – fork an external process in your build, or configure it for running your standalone application easily from the POM
I do think if there was one plugin I would have liked to cover more in this centralised location it would have been the Enforcer – perhaps pulling some entries together would make a good blog topic in the future though.
I hope you enjoy the sample chapter and consider buying the book!
Categories: Maven · Syndicated
Tagged: book, howto, Maven, plugins