You are previewing Introducing Maven.
O'Reilly logo
Introducing Maven

Book Description

Introducing Maven is your quick start-up primer guide on Maven. This fully packed mini-book includes the new features and enhancements found in the latest version of Maven.

In this short 100-page book, you'll learn all about Maven and how to set it up to use. You'll learn about the Maven life cycle and how to effectively leverage and use it. Also, you'll learn the basics of using site plugins and generating Javadocs, test coverage/FindBugs reports, version/release notes and more. Furthermore, you'll take advantage of Maven's archetypes to bootstrap new projects easily. Finally, you will learn how to integrate Nexus repository manager with Maven release phases.

After reading and using this short book, you'll have an understanding of Maven's dependency management and how to organize basic and multi-module Maven projects.

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Dedication
  5. Contents at a Glance
  6. Contents
  7. About the Authors
  8. About the Technical Reviewer
  9. Acknowledgments
  10. Introduction
  11. Chapter 1: Getting Started with Maven
    1. Standardized Directory Structure
    2. Declarative Dependency Management
    3. Plug-ins
    4. Uniform Build Abstraction
    5. Tools Support
    6. Archetypes
    7. Open Source
    8. Maven Alternatives
      1. Ant + Ivy
      2. Gradle
    9. Summary
  12. Chapter 2: Setting Up Maven
    1. Testing Installation
    2. Getting Help
    3. Additional Settings
    4. Setting Up a Proxy
    5. IDE Support
    6. Summary
  13. Chapter 3: Maven Dependency Management
    1. Using Repositories
    2. Dependency Identification
    3. Transitive Dependencies
    4. Dependency Scope
    5. Manual Dependency Installation
    6. Summary
  14. Chapter 4: Maven Project Basics
    1. Basic Project Organization
    2. Understanding the pom.xml File
    3. Building a Project
    4. Testing the Project
    5. Properties inpom.xml
    6. ExcludingDependencies
    7. Summary
  15. Chapter 5: Maven Life Cycle
    1. Goals and Plug-ins
    2. Life Cycle and Phases
    3. Plug-in Development
    4. Summary
  16. Chapter 6: Maven Archetypes
    1. Built-in Archetypes
    2. Generating a Web Project
    3. Multimodule Project
    4. Creating an Archetype
    5. Using the Archetype
    6. Summary
  17. Chapter 7: Documentation and Reporting
    1. Using the Site Life Cycle
    2. Advanced Site Configuration
    3. Generating Javadoc Reports
    4. Generating Unit Test Reports
    5. Generating Code Coverage Reports
    6. Generating the FindBugs Report
    7. Summary
  18. Chapter 8: Maven Release
    1. Integration with Nexus
    2. Project Release
    3. Subversion Server Command Line Tools Installation
    4. Creating a Repository
    5. Checking in Source Code
    6. Maven Release
      1. Prepare Goal
      2. Clean Goal
      3. Perform Goal
    7. Summary
  19. Index