Site icon TestingDocs.com

Maven project using NetBeans IDE

Introduction

In this post, we will create a Maven project using Apache NetBeans IDE. Just like other IDE’s NetBeans rolls out with bundled Maven build tool that is used to manage projects.

Steps to create a Maven Project

Steps to create a Java project are:

Launch NetBeans IDE

Click on File >> New Project

 

 

In the New Project wizard, choose Java with Maven and select Java Application.

 

( You can pick any build tools like Maven, Gradle, Ant etc.). The above option would allow you to create a simple Java SE application using Maven.

Click on the Next > button.

In the Name and Location screen of the wizard, fill the details of the project.

In the Project Name field, give the project name for example SampleApplication.
Fill the other details of the project like Group Id, Version, Package etc.

Click on the Next > button.

Once you click on the Finish button, the project would be created.

Project components

The following components would be created in the project.

Source Packages
Maven Dependencies
Java dependencies
Project Files with pom.xml file.

Bundled Maven

To check the bundled Maven with the IDE,

Tools >> Options >> Java >> Maven Home

 

NetBeans IDE Tutorials

https://www.testingdocs.com/apache-netbeans-ide-tutorials/

More Information on NetBeans IDE

https://netbeans.apache.org/

Exit mobile version