0 votes
in DevOps by
What is POM In Maven?

1 Answer

0 votes
by

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
asked Feb 20, 2020 in DevOps by MBarbieri
0 votes
asked Aug 30, 2023 in Maven - Coalescing Pipeline by JackTerrance
0 votes
0 votes
asked Feb 13, 2020 in JAVA by rahuljain1
...