you don't have to customize else as the other configurations will be inherited form the Super POM. The Effective POM refers the merge between the Super POM and the POM from The Simplest POM. It's right time to invest in Cryptocurrencies Dogecoin !
A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains default values for most projects.
The pom. xml is 3 times longer than the build. xml and that is without straying from the conventions. In fact, my Maven example is shown without an extra 54 lines that were required to configure plugins.
In above pom. xml, you can see the default project source folders structure, output directory, plug-ins required, repositories, reporting directory, which Maven will be using while executing the desired goals.
All Maven project POMs extend the Super POM, which defines a set of defaults shared by all projects.
All Maven POMs inherit defaults from the Super POM. If you are just writing a simple project that produces a JAR from some source in src/main/java, want to run your JUnit tests in src/test/java, and want to build a project site using mvn site, you don’t have to customize anything. All you would need, in this case, is the simplest possible POM shown in The Simplest POM. This POM defines a groupId, artifactId, and version: the three required coordinates for every project.
It is the merge between The Super POM
and the POM from The Simplest POM
.
NOTE: This info was extracted from the following link (in the link the explanation is very complete)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With