For too long, developers have worked on disorganized application projects, where every part seemed to have its own build system, and no common repository existed for information about the state of the project. Now there's help. The long-awaited official documentation to Maven is here.
Written by Maven creator Jason Van Zyl and his team at Sonatype, Maven: The Definitive Guide clearly explains how this tool can bring order to your software development projects. Maven is largely replacing Ant as the build tool of choice for large open source Java projects because, unlike Ant, Maven is also a project management tool that can run reports, generate a project website, and facilitate communication among members of a working team.
To use Maven, everything you need to know is in this guide. The first part demonstrates the tool's capabilities through the development, from ideation to deployment, of several sample applications -- a simple software development project, a simple web application, a multi-module project, and a multi-module enterprise project.
The second part offers a complete reference guide that includes:
* The POM and Project Relationships
* The Build Lifecycle
* Plugins
* Project website generation
* Advanced site generation
* Reporting
* Properties
* Build Profiles
* The Maven Repository
* Team Collaboration
* Writing Plugins
* IDEs such as Eclipse, IntelliJ, ands NetBeans
* Using and creating assemblies
* Developing with Maven Archetypes
Several sources for Maven have appeared online for some time, but nothing served as an introduction and comprehensive reference guide to this tool -- until now. Maven: The Definitive Guide is the ideal book to help you manage development projects for software, web applications, and enterprise applications. And it comes straight from the source.
Inhaltsverzeichnis
Preface
Introduction
Chapter 1: Introducing Apache Maven
Chapter 2: Installing and Running Maven
Maven by Example
Chapter 3: A Simple Maven Project
Chapter 4: Customizing a Maven Project
Chapter 5: A Simple Web Application
Chapter 6: A Multimodule Project
Chapter 7: Multimodule Enterprise Project
Maven Reference
Chapter 8: Optimizing and Refactoring POMs
Chapter 9: The Project Object Model
Chapter 10: The Build Lifecycle
Chapter 11: Build Profiles
Chapter 12: Maven Assemblies
Chapter 13: Properties and Resource Filtering
Chapter 14: Maven and Eclipse: m2eclipse
Introduction
m2eclipse
Installing the m2eclipse Plugin
Installing Prerequisites
Installing m2eclipse
Enabling the Maven Console
Creating a Maven Project
Create a Maven POM File
Importing Maven Projects
Running Maven Builds
Working with Maven Projects
Working with Maven Repositories
Using the Form-Based POM Editor
Analyzing Project Dependencies in m2eclipse
Maven Preferences
Summary
Chapter 15: Site Generation
Chapter 16: Repository Manager
Introduction
Installing Nexus
Downloading Nexus from Sonatype
Installing Nexus
Running Nexus
Post-Install Checklist
Startup Scripts for Linux
Running Nexus Behind a Proxy
Using Nexus
Configuring Maven to Use Nexus Repositories
Configuring Nexus
Customizing Server Configuration
Managing Repositories
Managing Groups
Managing Routes
Managing Scheduled Services
Managing Security
Network Configuration
Maintaining Repositories
Deploying Artifacts to Nexus
Chapter 17: Writing Plugins
Chapter 18: Writing Plugins in Alternative Languages
Appendixes
Settings Details
Sun Specification Alternatives
Colophon