About

Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.

Search
Tag Cloud
...
Login
« Fixing Word 2007 Crashing on 'Save As' and 'Print' | Main | Eclipse Galileo »
Saturday
Jun272009

Perils of Maven's Implicit Reactor

Maven's '-r' command line switch builds an implicit reactor by recursing through subdirectories of the current working directory.

On the face of it, this is a useful facility, especially valuable when bootstrapping a new project. You do not need to maintain a 'root' pom.xml for a project with explicit modules directives. Instead, you simply use -r and Maven can order and invoke the build for each module within the project.

However, I now avoid over-reliance on the implicit reactor. My reasoning for this stems from the release plugins inability to release atomically across a set of modules using the implicit reactor. Instead each module must be individually released. In large projects this is simply impractical. At least one large shared-source project known to me switched its build from the implicit to an explicit reactor - to facilitate the release process.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>