Skip to Main Content
Apache Maven Cookbook
book

Apache Maven Cookbook

by Raghuram Bharathan
April 2015
Intermediate to advanced content levelIntermediate to advanced
272 pages
4h 59m
English
Packt Publishing
Content preview from Apache Maven Cookbook

Understanding Maven settings

Now that we have got an idea of the essential elements of a pom file, let us also examine the various setting properties of Maven.

How to do it...

To understand the Maven settings, perform the following steps:

  1. Open the settings.xml file in the .m2 subfolder of your HOME folder, if it exists:
    How to do it...
  2. Otherwise, open the settings.xml file in the conf folder of your Maven installation (as defined in M2_HOME).

How it works...

Maven has a global settings file called settings.xml in the conf folder of the Maven installation. The values in this file can be overridden in the user settings file— the settings.xml file—that is present in the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Maven 3

Mastering Apache Maven 3

Prabath Siriwardena
Learning Apache Maven

Learning Apache Maven

Kevin Bowersox

Publisher Resources

ISBN: 9781785286124Supplemental Content