Chapter 6. Building Your Project

You can build and package your project in several ways in IntelliJ IDEA. In this chapter, we will focus on building a project using external tools like Maven and Gradle. Maven is the industry standard to build Java projects nowadays, so we will focus our attention on it and discuss how IntelliJ IDEA makes your work with Maven more simple and intuitive. The Maven build file is a first-class citizen in IntelliJ IDEA. The best thing is that if you use Maven or Gradle to build your application in IntelliJ IDEA, you will be able to build the project outside of the IDE as well. If you are new to Maven, check out their website at, and for Gradle, take a look at

We will cover ...

Get IntelliJ IDEA Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.