Chapter 2. IDE Integration with Maven

In this chapter, we will see how to set up and use Maven with three popular Java Integrated Development Environments (IDE). We will cover the following recipes:

  • Creating a new Maven project in Eclipse
  • Importing an existing Maven project in Eclipse
  • Creating a new Maven project in NetBeans
  • Importing an existing Maven project in NetBeans
  • Creating a new Maven project in IntelliJ IDEA
  • Importing an existing Maven project in IntelliJ IDEA

Introduction

IDE improves developer productivity by performing the following functions:

  • Creating boilerplate code
  • Carrying out code completion
  • Identifying syntax issues
  • Performing tasks such as compilation, unit testing, and deploying to web/app servers

While Maven is primarily intended to be ...

Get Apache Maven Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.