What are the difference between pom.xml and effective pom in Apache Maven?

The Super POM

All Maven project POMs extend the Super POM, which defines a set of defaults shared by all projects.

The Simplest POM

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.

The Effective POM

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)

  • Maven: The Complete Reference – 3.2. The POM

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)