Nov 12, 2019 in DevOps
Q: What is POM In Maven?

1 Answer

0 votes
Nov 12, 2019

A Project Object Model (POM) provides all the configuration for a single project. General

configuration covers the project's name, its owner and its dependencies on other projects.

One can also configure individual phases of the build process, which are implemented

as plugins.

For example, one can configure the compiler-plugin to use Java version 1.5 for compilation,

or specify packaging the project even if some unit tests fail.

Larger projects should be divided into several modules, or sub-projects, each with its own

POM. One can then write a root POM through which one can compile all the modules with a

single command. POMs can also inherit configuration from other POMs. All POMs inherit

from the Super POM by default. The Super POM provides default configuration, such as

default source directories, default plugins, and so on.

Related questions

0 votes
Feb 20, 2020 in DevOps
0 votes
Feb 21, 2020 in Ansible
0 votes
0 votes
Jan 30, 2020 in Selenium
...