Book Image

IntelliJ IDEA Essentials

By : Jaroslaw Krochmalski
Book Image

IntelliJ IDEA Essentials

By: Jaroslaw Krochmalski

Overview of this book

Table of Contents (17 chapters)
IntelliJ IDEA Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Editing Maven settings


The Maven project settings can be configured at two levels: for the current project and the project template. For the current project, select Settings from File (PC) or navigate to IDEA | Preferences (Mac). The settings dialog box will pop up, where you need to navigate to Build, Execution, Deployment | Build Tools | Maven, as shown in the following screenshot:

Tip

You can also start typing Maven in the search box in the Settings dialog box to quickly go to the Maven settings page.

If you want to define settings for the default project template, choose Maven by navigating to File | Other Settings | Default Settings. These settings will be used as the default settings every time a Maven project is imported or a new Maven module is created. Most of the settings are the equivalents for the Maven command-line switches.

Let's now examine the Maven settings in detail. On each launch, Maven looks into the remote repositories and checks for updates. Executing a Maven goal can...