Category Archives: maven

How to convert an existing Java Project to Maven in Eclipse?

This tutorial talks about Converting an existing Java Project to Maven in Eclipse? I have a Non-Maven Spring Project which I want to convert into a maven project. Before converting an existing Java Project to Maven in Eclipse: Steps to convert an existing Java Project to Maven in Eclipse: Step 1: Right-click on your java project… Read More »

How to generate javadoc in the maven Project

In this post, We will learn How to generate Javadoc in the maven project. Generating Javadocs in Maven: Maven usually using the maven-javadoc plugin to generate the Javadocs of a Project. This plugin usually internally using JDK\bin\javadoce.exe command to generate Javadocs. When we deploy the Project using mvn install command, it generates the Javadocs for the project. Configuring Javadocs Plugin… Read More »

Maven Dependency Scopes

In this post, We will learn about Maven Dependency Scopes The dependency scope is mainly used to limit the transitivity of a dependency and to determine when a dependency is included in a classpath. There are 6 scopes: compile This is considered the default scope. It is used if no scope is specified. Dependencies with… Read More »

How to create a maven web application project in Eclipse

In this post, We will learn How to create a maven web application project in Eclipse Follow the below steps to create a maven web application project in Eclipse: 1) Open the Eclipse and Go to File -> New -> Others. 2: In the opened New wizard, scroll down and select Maven->Maven Project, click Next 3: In the below screen, If… Read More »

How to Create a New Maven Project in Eclipse

In this post, We will learn How to Create a New Maven Project in Eclipse We need to follow the below steps to create a Maven project in Eclipse: 1) Open the Eclipse and Go to File -> New -> Others. 2) Select Maven Project and click on Next. 3) If you do not want to create your maven project on default Workspace… Read More »

How to import the maven project in Eclipse?

This tutorial talks about How to import the maven project in Eclipse? Below are the steps to import a maven project in Eclipse: In Eclipse select File -> Import… In the import window, expand Maven and then select Existing Maven Projects and click the Next button 3. Click on Browse then select the directory that contains the pom.xml file of… Read More »

Create a maven project using command line

In this post, We will learn How to create a maven project using the command line Step 1: Create a folder/directory with any name in your favorite local derive and open the command. Make sure your command prompt is pointing to that folder/directory For Example, I have created a folder named: MyWorkspace in C drive  after… Read More »

How to install and setup Maven Environment on windows?

In this post, We will talk and learn about How to install and setup Maven Environment on windows? Maven is a build automation and dependency management tool for Java-based application development. One thing you should always keep in mind that Maven is not installed as a Windows service, instead it is configured using windows environment variables.… Read More »

What is Maven ?

In this post, We will understand What is Manen? Below are some of the key points that describe What is Maven and How it is helpful in software development. Maven is basically build automation and project management tool. It provides a complete and detailed build life cycle framework It helps developers in checking a build status,… Read More »