Chapter 1. Getting Started

In this chapter, we will cover the basic tasks related to getting started with Apache Maven:

  • Installing Maven on Microsoft Windows
  • Installing Maven on Mac OS X
  • Installing Maven on Linux
  • Changing the JDK used by Maven
  • Creating a simple project with Maven
  • Building a simple project with Maven
  • Changing the location of the Maven repository
  • Running Maven behind an HTTP proxy server
  • Understanding the standard directory layout

Introduction

Apache Maven is a popular tool for build automation, primarily Java projects. Maven addresses two aspects of building software. First, it describes how a software is built and, second, it describes its dependencies. It uses conventions for the build procedure. An XML file describes the software project ...

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.