Instant Apache Maven Starter
暫譯: 即時 Apache Maven 入門指南
Maurizio Turatti, Maurizio Pillitu
- 出版商: Packt Publishing
- 出版日期: 2013-06-01
- 售價: $1,020
- 貴賓價: 9.5 折 $969
- 語言: 英文
- 頁數: 62
- 裝訂: Paperback
- ISBN: 1782167609
- ISBN-13: 9781782167600
海外代購書籍(需單獨結帳)
商品描述
Get started with the fundamentals of developing Java projects with Apache Maven
Overview
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Create Java projects and project templates with Maven archetypes
- Manage project dependencies, project coordinates, and multi-modules
- Download, install, and configure Maven on different operating systems
In Detail
Maven ultimately allows for the automation of the build lifecycle and independence from any IDE. You must always be able to build and test any Java project from the command line, using your favorite editor for coding. It is important to control exactly what libraries get distributed with Java projects and to have a standard project template and build process.
Instant Apache Maven Starter will concentrate the most useful information into one single, very compact source.
This book will help the reader to find out what Maven actually is, and will teach the reader how to create and build a new Java application or Web project from scratch and to understand the POM file and Maven project’s coordinates.
The book introduces the reader with useful information so they can quickly get started with using Maven productively through practical but very simple examples, as well as providing some useful tips.
The topics this book covers deal with setting up a local Maven environment, how to start coding and unit-testing in few minutes, and understanding the POM (Project Object Model) file and its naming conventions and internal dependencies, so that any kind of Java project can be managed uniformly and systematically.
Instant Apache Maven Starter will teach you everything you need to get started with Maven immediately with just the very essential information.
What you will learn from this book
- Download, install, and configure Apache Maven with the minimum fuss
- Make your own Java project templates and reuse them
- Deploy to Tomcat or run an embedded Tomcat with Maven
- Perform unit and integration testing with Maven and JUnit
- Manage dependencies and project coordinates, adopting best practices
- Create and manage multi-modules projects
- Use Maven from your favorite IDE: Netbeans, Eclipse, or IDEA
Approach
Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks.The book follows a starter approach for using Maven to create and build a new Java application or Web project from scratch.
Who this book is written for
Instant Apache Maven Starter is great for Java developers new to Apache Maven, but also for experts looking for immediate information. Moreover, only 20% of the necessary information about Maven is used in 80% of the activities. This book aims to focus on the most important information, those pragmatic parts you actually use on a daily basis.
商品描述(中文翻譯)
開始使用 Apache Maven 開發 Java 專案的基本概念
概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 使用 Maven 原型創建 Java 專案和專案模板
- 管理專案依賴、專案坐標和多模組
- 在不同操作系統上下載、安裝和配置 Maven
詳細內容
Maven 最終實現了構建生命週期的自動化,並且不依賴任何 IDE。您必須始終能夠從命令行構建和測試任何 Java 專案,並使用您喜愛的編輯器進行編碼。控制 Java 專案中分發的庫是非常重要的,並且需要有標準的專案模板和構建過程。
《Instant Apache Maven Starter》將最有用的信息集中在一個非常簡潔的來源中。
本書將幫助讀者了解 Maven 實際上是什麼,並教導讀者如何從零開始創建和構建新的 Java 應用程式或 Web 專案,並理解 POM 文件和 Maven 專案的坐標。
本書向讀者介紹有用的信息,以便他們能夠通過實用但非常簡單的範例快速開始有效地使用 Maven,並提供一些有用的提示。
本書涵蓋的主題包括設置本地 Maven 環境、如何在幾分鐘內開始編碼和單元測試,以及理解 POM(專案物件模型)文件及其命名約定和內部依賴,以便能夠統一和系統地管理任何類型的 Java 專案。
《Instant Apache Maven Starter》將教您所有需要的基本信息,以便立即開始使用 Maven。
您將從本書中學到的內容
- 以最少的麻煩下載、安裝和配置 Apache Maven
- 創建自己的 Java 專案模板並重複使用
- 部署到 Tomcat 或使用 Maven 運行嵌入式 Tomcat
- 使用 Maven 和 JUnit 進行單元和集成測試
- 管理依賴和專案坐標,採用最佳實踐
- 創建和管理多模組專案
- 從您喜愛的 IDE 使用 Maven:Netbeans、Eclipse 或 IDEA
方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。本書採用入門方法,使用 Maven 從零開始創建和構建新的 Java 應用程式或 Web 專案。
本書的讀者對象
《Instant Apache Maven Starter》非常適合新接觸 Apache Maven 的 Java 開發者,也適合尋求即時信息的專家。此外,關於 Maven 的必要信息中,只有 20% 被用於 80% 的活動。本書旨在專注於最重要的信息,即您實際上每天使用的那些務實部分。