Project Description

Project Description

In pom file, initial we will identify “Projection Description”, it contains Project name, version number, packaged type, etc.

To specify the above details, we need to use the following XML tags.

<project ..... >
   <!-- Project Description -->
   <modelVersion> --- </modelVersion>
   <groupid> --- </groupid>
   <artifactid> -- </artifactid>
   <version> -- </version>
    -----
    -----
</project>
  • Where “<project>” tag is the root tag in pom.xml file
  • Where “<modelVersion>” tag declared which version of the MAVEN we are using. <modelVersion> tag will take 4.0.0 to support for MAVEN2.x/3.x versions.
  • Where “<groupid>” tag will take a unique ID for an organization, or a project. Normally we use a group ID similar to the root Java package name of the project.
  • Where “<artifactid>” tag will take the name of the project. The artifact ID is used as name for a sub directory under the group ID directory in the Maven repository and as part of the name of the JAR file produced when building the project. The build result, a JAR, WAR or EAR file, is called an artifact in Maven.
  • Where “<version>” tag will take the Project version number.
  • Where “<packaging>” tag will take different packaging formats in order to deliver the project like jar, war, ear, etc.
<project ..... >
   <!-- Project Description -->
   <modelVersion>4.0.0</modelVersion>
   <groupid>com.ashok.banking</groupid>
   <artifactid>icici.accounts</artifactid>
   <version>1.0</version>
   <name>Account Application</name>
   <description> Application for Accounts module in ICICI Bank project </description>
   -----
</project>
Project Description
Scroll to top