Apache Maven Dependency Management

With this guide, you can easily manage your Java or Java EE dependencies. It takes you from basic to advanced dependency management techniques in easy, logical steps. Swap your homebrew processes for automated solutions.
Preview in Mapt

Apache Maven Dependency Management

Jonathan LALOU

With this guide, you can easily manage your Java or Java EE dependencies. It takes you from basic to advanced dependency management techniques in easy, logical steps. Swap your homebrew processes for automated solutions.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$14.70
RRP $20.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$14.70
$34.99
$29.99p/m after trial
RRP $20.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Apache Maven Dependency Management Book Cover
Apache Maven Dependency Management
$ 20.99
$ 14.70
Apache Maven Cookbook Book Cover
Apache Maven Cookbook
$ 39.99
$ 28.00
Buy 2 for $32.20
Save $28.78
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783283019
Paperback158 pages

Book Description

Managing dependencies in a multi-module project is difficult. In a multi-module project, libraries need to share transitive relations with each other. Maven eliminates this need by reading the project files of dependencies to figure out their inter-relations and other related information. Gaining an understanding of project dependencies will allow you to fully utilize Maven and use it to your advantage.

Aiming to give you a clear understanding of Maven’s functionality, this book focuses on specific case studies that shed light on highly useful Maven features which are often disregarded. The content of this book will help you to replace homebrew processes with more automated solutions.

This practical guide focuses on the variety of problems and issues which occur during the conception and development phase, with the aim of making dependency management as effortless and painless as possible. Throughout the course of this book, you will learn how to migrate from non-Maven projects to Maven, learn Maven best practices, and how to simplify the management of multiple projects. The book emphasizes the importance of projects as well as identifying and fixing potential conflicts before they become issues. The later sections of the book introduce you to the methods that you can use to increase your team’s productivity. This book is the perfect guide to help make you into a proud software craftsman.

Table of Contents

Chapter 1: Basic Dependency Management
Nomenclature
Long and short designations
Visualizing dependencies
Transitive dependencies
Parents/modules
Version ranges
Summary
Chapter 2: Dependency Mechanism and Scopes
Scopes
Chapter 3: Dependency Designation (advanced)
The type tag
Creating a new packaging/type
The Classifier
The dependency plugin
Dynamic POMs and dependencies
Summary
Chapter 4: Migration of Dependencies to Apache Maven
Case study
Setting the folders
Introducing Maven with standard libraries
Non-Maven standard libraries
Summary
Chapter 5: Tools within Your IDE
Case study
IntelliJ IDEA
Eclipse
NetBeans
Summary
Chapter 6: Release and Distribute
Best practices before release
Fixing conflicts with tier-parties
Releasing the source code
Delivering artifacts and distributions
Distribution management
Summary

What You Will Learn

  • Learn how to use profiles, POM, parent POM, and modules
  • Increase build-speed and decrease archive size
  • Set, rationalize, and exclude transitive dependencies
  • Optimize your POM and its dependencies
  • Migrate projects to Maven including projects with exotic dependencies

Authors

Table of Contents

Chapter 1: Basic Dependency Management
Nomenclature
Long and short designations
Visualizing dependencies
Transitive dependencies
Parents/modules
Version ranges
Summary
Chapter 2: Dependency Mechanism and Scopes
Scopes
Chapter 3: Dependency Designation (advanced)
The type tag
Creating a new packaging/type
The Classifier
The dependency plugin
Dynamic POMs and dependencies
Summary
Chapter 4: Migration of Dependencies to Apache Maven
Case study
Setting the folders
Introducing Maven with standard libraries
Non-Maven standard libraries
Summary
Chapter 5: Tools within Your IDE
Case study
IntelliJ IDEA
Eclipse
NetBeans
Summary
Chapter 6: Release and Distribute
Best practices before release
Fixing conflicts with tier-parties
Releasing the source code
Delivering artifacts and distributions
Distribution management
Summary

Book Details

ISBN 139781783283019
Paperback158 pages
Read More

Read More Reviews

Recommended for You

Java EE 7 Developer Handbook Book Cover
Java EE 7 Developer Handbook
$ 35.99
$ 25.20
Java 7 Concurrency Cookbook Book Cover
Java 7 Concurrency Cookbook
$ 29.99
$ 21.00
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Apache Maven 3 Cookbook Book Cover
Apache Maven 3 Cookbook
$ 23.99
$ 16.80
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80