P. 1
Better Builds With Maven

Better Builds With Maven

|Views: 130|Likes:
Published by Chrispin Okoth
Maven Tutorials
Maven Tutorials

More info:

Published by: Chrispin Okoth on Jul 13, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/04/2013

pdf

text

original

Maven provides a rich framework for its plugins, including a well-defined build life cycle, dependency
management, and parameter resolution and injection. Using the life cycle, Maven also provides a well-
defined procedure for building a project's sources into a distributable archive, plus much more. Binding
to a phase of the Maven life cycle allows a mojo to make assumptions based upon what has
happened in the preceding phases. Using Maven's parameter injection infrastructure, a mojo can pick
and choose what elements of the build state it requires in order to execute its task. Together,
parameter injection and life-cycle binding form the cornerstone for all mojo development.

135

Better Builds with Maven

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->