Apache Maven Dependency Management

Jonathan Lalou

  • 出版商: Packt Publishing
  • 出版日期: 2013-10-28
  • 售價: $1,510
  • 貴賓價: 9.5$1,435
  • 語言: 英文
  • 頁數: 158
  • 裝訂: Paperback
  • ISBN: 1783283017
  • ISBN-13: 9781783283019
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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.

Overview

  • Improve your productivity by efficiently managing dependencies.
  • Learn how to detect and fix dependency conflicts
  • Learn how to share transitive relations and to visualize your dependencies

In Detail

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.

What you will learn from this book

  • 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

Approach

An easy-to-follow, tutorial-based guide with chapters progressing from basic to advanced dependency management.

Who this book is written for

If you are working with Java or Java EE projects and you want to take advantage of Maven dependency management, then this book is ideal for you. This book is also particularly useful if you are a developer or an architect. You should be well versed with Maven and its basic functionalities if you wish to get the most out of this book.

商品描述(中文翻譯)

這本指南將幫助您輕鬆管理Java或Java EE的相依性。它以簡單、邏輯的步驟,從基礎到高級的相依性管理技巧帶領您前進。讓您將自製的流程換成自動化的解決方案。

概述:
- 有效管理相依性,提升生產力。
- 學習如何檢測和修復相依性衝突。
- 學習如何共享相依關係並視覺化您的相依性。

詳細內容:
在多模組專案中管理相依性是困難的。在這樣的專案中,庫需要與彼此共享相依關係。Maven通過讀取相依性的專案檔案來了解它們的相互關係和其他相關信息,從而消除了這種需求。瞭解專案相依性將使您能夠充分利用Maven並將其用於您的優勢。

本書旨在讓您清楚地瞭解Maven的功能,重點介紹了一些常被忽視但非常有用的Maven功能的具體案例。本書的內容將幫助您將自製的流程替換為更自動化的解決方案。

這本實用指南專注於在構思和開發階段中出現的各種問題和問題,旨在使相依性管理變得輕鬆和無痛。在本書的過程中,您將學習如何從非Maven專案遷移到Maven,學習Maven的最佳實踐,以及如何簡化多個專案的管理。本書強調專案的重要性,並在問題變成問題之前確定並修復潛在的衝突。本書的後幾節介紹了提高團隊生產力的方法。這本書是幫助您成為自豪的軟體工匠的完美指南。

本書將教您以下內容:
- 學習如何使用配置文件、POM、父POM和模組。
- 提高構建速度,減少存檔大小。
- 設置、合理化和排除相依性。
- 優化您的POM及其相依性。
- 遷移專案到Maven,包括具有特殊相依性的專案。

這是一本易於跟隨的基礎到高級相依性管理的教學指南。

本書的讀者對象:
如果您正在使用Java或Java EE專案,並希望利用Maven的相依性管理,那麼這本書非常適合您。如果您是開發人員或架構師,這本書也尤其有用。如果您希望充分利用本書,您應該對Maven及其基本功能非常熟悉。