Book Image

Getting Started with Apache Maven [Video]

By : Russell Gold
Book Image

Getting Started with Apache Maven [Video]

By: Russell Gold

Overview of this book

<p>Building projects rapidly and incrementally is a critical part of a developer’s job. "Getting Started with Apache Maven" will show you how to take advantage of the common elements of project building and implement effective methods to solve frequently encountered problems, as well as facilitating collaborative development among projects.</p> <p>"Getting Started with Apache Maven" will introduce you to the world of synergized development in the Maven ecosystem. The course logically explains the various concepts of the tool, and shows how to proceed from simple assignments to complex ones.</p> <p>Maven is not simply a tool to invoke compilers and utilities, but it is also an approach to easily constructing your project by accessing its ever-expanding world of tools and libraries.</p> <p>You will learn how to pull in dependencies simply by specifying their coordinates, how to customize your lifecycle with plugins, and see how easy it can be to create a project website. You will see how to generate reports on your code that will enable understanding and will let you know when your developers are running into problems. You will understand how to scale up from simple projects to multi-module ones.</p> <p>This video course walks you through the steps by presenting examples, starting with very basic ones, and growing to more elaborate ones once you have mastered the basics.</p> <h1>Style and Approach</h1> <p>Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.</p> <p>The video course entails a crisp demonstration of the concepts of building projects through Apache Maven backed by practical and illustrative examples.</p>
Table of Contents (8 chapters)
Chapter 7
Multi-module Projects
Content Locked
Section 1
Understanding the Multi-module Project
Complex projects generate multiple artifacts, but a Maven project only builds a single artifact. Use inheritance and aggregation to create large projects. - Define a parent POM with nested projects - Have each module inherit coordinates from a parent - Make the parent aggregate the child modules