Appendix. Introduction to Maven

 

This appendix provides a basic introduction to Apache Maven (http://maven.apache.org/what-is-maven.html). After reading it, you should be able to jumpstart your own projects by reusing configurations from the book’s samples.

Maven is a powerful tool and amply repays study. If you wish to learn more, you’ll find the official documentation at http://maven.apache.org and an excellent set of freely available books in PDF format at www.sonatype.com/resources/books.

The first section presents basic Maven concepts. In the second, we’ll illustrate these concepts using examples from the book’s sample projects.

A.1. What is Maven?

Maven is a tool for managing Java projects, but not the kind used for resource planning and scheduling. Rather, it handles the tasks involved in managing a physical project, such as compilation, testing, packaging, documentation, and distribution.

Maven consists of the following:

A.2. POM examples

 
 
 

A.3. Maven command-line

 
 

A.4. Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest