btahead.blogg.se

Maven web project
Maven web project










maven web project

Once you are done with the step, execute maven goals under life cycleĮxecute clean, compile, verify, and package goals.Ĭopy the war file created under the target folder and deploy it on the server. You can start adding functionality and web-pages on top of it. Once you hit on the finish button, the IDE would automatically create and build the project for you and download the dependencies. In the next step, enter Project details like project name and location. Optionally, you can also override the maven local and settings file configuration with custom ones. Project detailsĮnter groupid, artifactid and version details for the project and click on the Next button. Step3: Select maven-archetype-webapp- Artifact Id and Click Next. Step2: Select Next option as shown in fig.

maven web project

You can select Maven tool and check the box create from the archetypeĬlick on the Next button. Step1: Click File -> New -> Maven Project. Steps to create:Ĭlick Create New Project on the Welcome screen We can create using IDE tools as well as command-line console. You can create a java web application using maven-archetype-webapp plugin. In this post, we will create a simple web application with Maven and IntelliJ IDEA.












Maven web project