2014年针对Java构建工具的7本最好书籍
今天,很难想象在企业Java开发没有使用Maven,Gradle 或Ant等构建工具。这些工具在软件开发生命周期中起重要作用,因为它们被设计成善于管理依赖关系,增量编译,处理不同的配置文件,自动构建和持续集成。对于Java开发构建工具已经经过多年的发展和走向成熟与Maven是最流行的构建工具,Gradle 正在增加其知名度,而Ant和Ivy似乎已没落。
以下7本书籍,能够帮助您学习这些流行的构建工具。
- Maven: The Definitive Guide
- Apache Maven Dependency Management
- Gradle in Action
- Gradle Beyond the Basics
- Gradle Effective Implementation Guide
- Ant in Action
- Ant: The Definitive Guide
1. Maven: The Definitive Guide
Publisher: O'Reilly Media
Published Date: October 4th, 2008
Paperback: 470 pages
Content Coverage:
- Part I: Introduction
-
- Introducing Apache Maven
- Installing and Running Maven
- Part II: Maven by Example
-
- A Simple Maven Project
- Customizing a Maven Project
- A Simple Web Application
- A Multimodule Project
- Multimodule Enterprise Project
- Part III: Maven Reference
- Optimizing and Refactoring POMs
- The Project Object Model
- The Build Lifecycle
- Build Profiles
- Maven Assemblies
- Properties and Resources Filtering
- Maven and Eclipse: m2eclipse
- Site Generation
- Repository Manager
- Writing Plugins
- Writing Plugins in Alternative Languages
- Part IV: Appendixes </ul>
- Chapter 1: Basic Dependency Management
- Chapter 2: Dependency Mechanism and Scopes
- Chapter 3: Dependency Designation (advanced)
- Chapter 4: Migration of Dependencies to Apache Maven
- Chapter 5: Tools within Your IDE
- Chapter 6: Release and Distribute
- Appendix: Useful Public Repositories
- Part 1: Introduction to Gradle
- Introduction to Project Automation
- Next-generation builds with Gradle
- Part 2: Mastering the Fundamentals
- Build script essentials
- Dependency management
- Multiproject builds
- Testing with Gradle
- Extending Gradle
- Integration and Migration </ul> </li>
- Part 3: From Build to Deployment
- IDE Support and Tooling
- Building polygot projects
- Code quality management and monitoring
- Continuous Integration
- Artifact assembly and publishing
- Infrastructure provisioning and deployment </ul> </li> </ul>
- File Operations
- Copy Task
- Filtering and Transforming Files
- The File Methods
- The FileCollection Interface
- Lazy Files
- Custom Plug-Ins
- Plug-In Philosophy
- The Plug-In API
- The Example Plug-In
- Setup
- Sketching Out Your Plug-In
- Packaging a Plug-In
- Build Hooks
- The Gradle Lifecycle: A Review
- Advising the Build Graph
- Advising Project Evaluation
- Rules
- Dependency Management
- Dependency Concepts
- Repositories: Dependency Resolution
- Buildscript Dependencies
- Dependency Caching
- Configuring Resolution Strategy
- Chapter 1: Starting with Gradle
- Chapter 2: Creating Gradle Build Scripts
- Chapter 3: Working with Gradle Build Scripts
- Chapter 4: Using Gradle for Java Projects
- Chapter 5: Dependency Management
- Chapter 6: Testing, Building and Publishing Artifacts
- Chapter 7: Multi-project Builds
- Chapter 8: Mixed Languages
- Chapter 9: Maintaining Code Quality
- Chapter 10: Writing Custom Tasks and Plugins
- Chapter 11: Using Gradle with Continuous Integration
- Chapter 12: IDE Support
- Part 1: Learning Ant
- Introducing Ant
- A first Ant build
- Understanding Ant datatypes and properties
- Testing with JUnit
- Packaging projects
- Executing programs
- Distributing our application
- Putting it all together
- Part 2: Appling Ant </ul>
-
- Beyond Ant’s core tasks
- Working with big projects
- Managing Dependencies
- Working with XML
- Enterprise Java
- Continuous Integration
- Deployment
- Part 3: Extending Ant
-
- Writing Ant tasks
- Extending Ant further
- Appendix A: Installation
- Appendix B: XML Primer
- Appendix C: IDE Integration
- Getting Started
- Using Properties and Types
- Building Java Code
- Deploying Builds
- Testing Builds with JUnit
- Getting Source code from CVS Repositories
- Executing External Programs
- Developing for the Web
- XML and XDoclet
- Optional Tasks
- Integrating Ant with Eclipse
- Extending Ant
More information about Gradle in Action on Amazon
4. Gradle Beyond the BasicsPublisher: O'Reilly Media
Published Date: August 15th, 2013
Paperback: 80 pages
Content Coverage:
More information about Gradle beyond the Basics on Amazon
5. Gradle Effective Implementation GuidePublisher: Packt Publishing
Published Date: October 25th, 2012
Paperback: 382 pages
Content Coverage:
More information about Gradle Effective Implementation Guide on Amazon
6. Ant in ActionAuthor: Steve Loughran, Erik Hatcher
Publisher: Manning Publications
Published Date: July 27th, 2007
Paperback: 600 pages
Content Coverage:
More information about Ant in Action on Amazon
7. Ant: The Definitive GuidePublisher: O'Reilly Media
Published Date: April 20th, 2005
Paperback: 336 pages
Content Coverage:
More information about Ant the Definitive Guide on Amazon
More information about Maven the Definitive Guide on Amazon
2. Apache Maven Dependency Management
Publisher: Packt Publishing
Published Date: October 25th, 2013
Paperback: 158 pages
Content Coverage:
More information about Apache Maven Dependency Management on Amazon
3. Gradle in Action
Publisher: Manning Publications
Published Date: March 9th, 2014
Paperback: 480 pages
Content Coverage: