وبلاگ بلیان

Introducing Maven - A Build Tool for Today’s Java Developers.

جلد کتاب Introducing Maven - A Build Tool for Today’s Java Developers.

معرفی کتاب «Introducing Maven - A Build Tool for Today’s Java Developers.» نوشتهٔ 萧鼎著 و Varanasi, Balaji، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2019. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Gain an understanding of Maven’s dependency management and use it to organize basic and multi-module Maven projects. This short book is your quick-start tutorial for learning to use Maven. It includes inconsistently immutable collections, better array construction, and more from the latest Maven version 3.6. This second edition covers the newest in today's most popular build tool for Java development and programming. You'll learn all about Maven and how to set it up. Firstly, you’ll cover the Maven life cycle and how to effectively leverage it. Also, you'll see the basics of site plugins, generating Javadocs, test coverage/FindBugs reports, and version/release notes. Furthermore, you'll take advantage of Maven's archetypes to bootstrap new projects easily. Finally, you will learn how to integrate the Nexus repository manager with Maven release phases. --- What You Will Learn: \* Set up your basic project in Maven \* Create more advanced projects \* Apply the Maven life cycle to your build \* Work with Maven archetypes and manage Maven releases \* Integrate with Jenkins, Eclipse, and other IDEs \* Carry out debugging and password encryption --- Who This Book Is For: Those new to Maven or those who are familiar with Maven, but maybe not with the latest Maven 3.6 release. Table of Contents 5 About the Author 9 About the Technical Reviewer 10 Acknowledgments 11 Introduction 12 Chapter 1: Getting Started with Maven 15 Standardized Directory Structure 16 Declarative Dependency Management 16 Plug-ins 17 Uniform Build Abstraction 17 Tools Support 17 Archetypes 18 Open Source 18 Maven Alternatives 19 Ant + Ivy 19 Gradle 21 Maven Components 23 Maven SCM 23 Maven Wagon 23 Maven Doxia 24 Summary 24 Chapter 2: Setting Up Maven 25 Installing on Windows 27 Installing on Mac 27 Testing Installation 28 Getting Help 29 Additional Settings 30 Setting Up a Proxy 33 Securing Passwords 34 IDE Support 35 Summary 35 Chapter 3: Maven Dependency Management 36 Using New Repositories 39 Dependency Identification 41 Transitive Dependencies 42 Dependency Scope 45 Manual Dependency Installation 46 Summary 48 Chapter 4: Maven Project Basics 49 Basic Project Organization 49 Understanding the pom.xml File 52 Building a Project 54 Testing the Project 56 Properties in pom.xml 61 Implicit Properties 62 User-Defined Properties 62 Summary 63 Chapter 5: Maven Lifecycle 64 Goals and Plug-ins 64 Lifecycle and Phases 68 Plug-in Development 72 Summary 79 Chapter 6: Maven Archetypes 80 Built-in Archetypes 80 Generating a Web Project 82 Multimodule Project 85 Creating an Archetype 91 Using the Archetype 97 Summary 98 Chapter 7: Documentation and Reporting 99 Using the Site Lifecycle 99 Advanced Site Configuration 104 Generating Javadoc Reports 109 Generating Unit Test Reports 111 Generating Code Coverage Reports 112 Generating the SpotBugs Report 114 Summary 115 Chapter 8: Maven Release 116 Integration with Nexus 116 Project Release 122 Git Client Installation 124 Creating a GitHub Repository 124 Checking in Source Code 125 Maven Release 127 Prepare Goal 127 Clean Goal 132 Perform Goal 132 Summary 135 Chapter 9: Continuous Integration 136 Installing Jenkins 137 Maven Project 138 Configuring Jenkins 139 Triggering Build Job 142 Summary 144 Index 145 Front Matter ....Pages i-xvii Getting Started with Maven (Balaji Varanasi)....Pages 1-10 Setting Up Maven (Balaji Varanasi)....Pages 11-21 Maven Dependency Management (Balaji Varanasi)....Pages 23-35 Maven Project Basics (Balaji Varanasi)....Pages 37-51 Maven Lifecycle (Balaji Varanasi)....Pages 53-68 Maven Archetypes (Balaji Varanasi)....Pages 69-87 Documentation and Reporting (Balaji Varanasi)....Pages 89-105 Maven Release (Balaji Varanasi)....Pages 107-126 Continuous Integration (Balaji Varanasi)....Pages 127-135 Back Matter ....Pages 137-140
دانلود کتاب Introducing Maven - A Build Tool for Today’s Java Developers.