In my previous post, I explained about super pom. By
default all the pom files inherit the information from super pom file.
pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>selfLearningJava</groupId> <artifactId>helloworld</artifactId> <packaging>jar</packaging> <version>1</version> <name>helloworld</name> </project>
For example, if you would like to see the final pom,
after inheriting from super pom, then go to the directory, where your pom.xml
file is located and run below command
mvn help:effective-pom
No comments:
Post a Comment