This project shows how to create a maven project from scratch and how to create a war file from the project
Control Enter - New - Project - Maven Check Create from archetype - select maven-archetype-webapp - Next Choose a Name of Project ( this will be the artifact and this will be the name of the war file created so choose accordingly) - mavendemoproject Group Id - this is name of the package - org.demo finish - this will start creating the maven project creation - pom.xml will be created
" Welcome to the First Maven Project"
Build the project in jenkins