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

Creating an organization POM

We have already seen the benefits of applying common settings across an application using inheritance, so why not take that one step further?

A commonly utilized concept in this situation is referred to as an Organization POM. This means creating a parent POM that is shared among multiple applications within an organization and contains Maven project settings that are relevant to all projects in that organizational unit. The organization may be a team, a division, or an entire company, and multiple levels of inheritance can be used to represent different hierarchies where it makes sense to do so.

While Maven does not have any specialized handling for the use case the behavior is identical to any other parent POM the ...

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