Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Maven Essentials

You're reading from   Maven Essentials Get started with the essentials of Apache Maven and get your build automation system up and running quickly

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781783986767
Length 184 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Russell E Gold Russell E Gold
Author Profile Icon Russell E Gold
Russell E Gold
Prabath Siriwardena Prabath Siriwardena
Author Profile Icon Prabath Siriwardena
Prabath Siriwardena
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Apache Maven Quick Start FREE CHAPTER 2. Understanding the Project Object Model (POM) 3. Maven Archetypes 4. Maven Plugins 5. Build Lifecycles 6. Maven Assemblies 7. Best Practices Index

What this book covers

Chapter 1, Apache Maven Quick Start, focuses on building a basic foundation around Maven to get started. It starts by explaining the basic steps to install and configure Maven on Ubuntu, Mac OS X, and Microsoft Windows operating systems. The latter part of the chapter covers some of the common useful Maven tips and tricks.

Chapter 2, Understanding the Project Object Model (POM), focuses on the Maven Project Object Model (POM) and how to adhere to the industry-wide accepted best practices to avoid maintenance nightmares. The key elements of a POM file, POM hierarchy and inheritance, managing dependencies, and related topics are covered here.

Chapter 3, Maven Archetypes, focuses on how Maven archetypes provide a way of reducing repetitive work in building Maven projects. There are thousands of archetypes out there that are available publicly to help you build different types of projects. This chapter covers a commonly used set of archetypes.

Chapter 4, Maven Plugins, covers some of the most commonly used Maven plugins and then explains how plugins are discovered and executed. Maven only provides a build framework, while the Maven plugins perform the actual tasks. Maven has a large, rich set of plugins, and the chances are very small that you will have to write your own custom plugin.

Chapter 5, Build Lifecycles, explains how the three standard lifecycles work and how we can customize them. Later in the chapter, we discuss how to develop our own lifecycle extensions.

Chapter 6, Maven Assemblies, covers real-world examples of how to use the Maven assembly plugin in detail, and finally concludes with an end-to-end sample Maven project.

Chapter 7, Best Practices, looks at and highlights some of the best practices to be followed in a large-scale development project with Maven. It is always recommended to follow the best practices since it will drastically improve developer productivity and reduce any maintenance nightmares.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime