Apache Maven is a build automation and project management tool hosted by the Apache foundation.
It uses a XML file called Project Object Model file (POM) to describe tasks, dependencies and goals that will be used to package, compile and even deploy out application in servers. Recently, Apache Maven has had a surge of interest since it has become an industry standard; it simplifies development, facilitates a test-driven approach, can be used for continuous integration, and simplifies cooperation between developers in a team who are working with different tools. For these reasons, the NetBeans team decided that the IDE should have built-in support for it. Since version 6.7, this is bundled together with the IDE, making the usage of Maven as easy as possible.
Maven can also be used by the command line, its primary usage, but a handful of commands must be memorized, such as package and clean. By using NetBeans instead, one can rely on a list of commands that are already pre-loaded with the IDE. This will ensure that the developer is just one click away from finding out the command that keeps on slipping their mind.
Maven is already built-in to the NetBeans IDE, but if you want to use Maven in your everyday work, you should also have Maven installed in your system. Although using the bundled Maven in NetBeans is not a good practice for production environments, it can be used as a temporary solution.
Apache Maven can be found at: http://maven.apache.org
The latest release of NetBeans supports Maven 3.0, which is also the latest release from Apache.
HelloMaven
.The first time a Maven project is created with NetBeans, the IDE will automatically handle all Maven configurations and generate the necessary files for future project creations.
Maven archetypes are the models where projects are defined, maintained, and developed. Selecting the Maven Archetype will create a standard Java project. NetBeans will do the following (you can confirm this in the Project View):
3.17.162.76