O'Reilly logo

Apache Maven 2 Effective Implementation by Maria Odea Ching, Brett Porter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Keeping it simple

One of the great temptations in putting together a build environment, or to make changes to it, is to do it as fast as possible. After all, once that is out of the way, the real work can begin! As much as this makes sense, builds constructed without enough thought can end up much like code approached in a similar way bloated, inconsistent, hard to understand, and hard to maintain.

Maven takes some measures to avoid this by enforcing build modularity through plugins and encouraging reuse. However, there are still plenty of opportunities for these problems to occur and measures need to be taken to avoid them.

The best recommendation that can be taken here is to think of the build file like any other piece of code. Good development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required