Book Image

Apache Maven Cookbook

Book Image

Apache Maven Cookbook

Overview of this book

Table of Contents (18 chapters)
Apache Maven Cookbook
About the Author
About the Reviewers

Creating a new Maven project in IntelliJ IDEA

IntelliJ IDEA is an IDE from JetBrains. It has both Community and commercial editions. IntelliJ IDEA is enormously popular among developers and is regularly updated with the latest language and platform features.

For the purpose of this cookbook, we will use the Community Edition. The steps are the same for the commercial edition as well.

As of writing this book, IntelliJ IDEA 14.0.3 is the most recent edition. The screenshots in this book reflect this version.

Getting ready

As IntelliJ IDEA needs a Java environment to run, let us first ensure that the Java environment is set up on our system:

  1. Ensure that JDK is installed.

  2. Download IntelliJ IDEA by visiting and clicking on the Download link.

  3. Ensure the project SDK is set to your Java installation.

How to do it...

Use the following steps to create a new Maven project in IntelliJ IDEA:

  1. Open IntelliJ IDEA.

  2. Click on Create New Project.

  3. Choose Maven.

  4. Select the Create from archetype...