Maven in Action

Links:Pan.baidu.com/s/1Dhme4PtA…Extraction code: X5XV

Maven In Action is written by Juven Xu, a recognized Maven expert in the Chinese community, and the content is undoubtedly authoritative. Maven In Action is the first publicly published Maven monograph in China. It is based on the release of Maven 3.0. It not only explains in detail all the new features and features of Maven 3.0, but also compares them to Maven 2.0 to make them easier to understand for those who are using Maven 2.x. Maven in Action is a comprehensive book that begins with an expert’s explanation of the value of Maven, as well as a comprehensive introduction to the installation, configuration and basic use of Maven for beginners. Coordinates and dependencies, Maven repositories, life cycles and plug-ins, aggregation and inheritance, and other Maven core concepts are explained in detail. It systematically explains advanced knowledge of using Nexus to build private server, using Maven to test, using Hudson for continuous integration, using Maven to build Web applications, version management of Maven, flexible build of Maven, generation of project sites and Maven’s M2Eclipse plug-in, etc. Readers can choose to read; This section provides an extensive introduction to Maven and Archetype plug-ins, especially for those who need to write Maven extensions or who need to write Archetype to maintain their own project skeleton for team development. Not only is there a case for most of the knowledge points, but There is also a background case in Chapter 4. Many of the following chapters are based on this case, which is very practical. Maven In Action is for all Java programmers. Whether you have never used Maven or have been using Maven for a long time, you will find Maven in action a valuable reference. Maven in Action is also a great read for all project managers to help you manage Your Java projects in a more disciplined and efficient way.

Chapter 1 Introduction to Maven / 1 1.1 What is Maven / 2 1.1.1 What is Build / 2 1.1.2 Maven is an excellent Build tool / 2 1.1.3 Maven is more than just a build tool 1.2 Why do YOU need Maven / 4 1.2.1 1.2.2 IDE is not everything / 4 1.2.3 Make / 5 1.2.4 Ant / 5 1.2.5 Don't reinvent the wheel / 6 1.3 Maven and Extreme Programming / 7 1.4 Misunderstood Maven / 8 1.5 Summary / 9 Chapter 2 Check the JDK installation / 11 2.1.2 Download Maven / 11 2.1.3 Install Maven locally / 12 2.1.4 Upgrade Maven / 13 2.2 Installing Maven / 13 2.2.1 Download and Installation / 13 2.2.2 Well-level Maven / 15 2.3 Installation Directory Analysis / 15 2.3.1 m2-home / 15 2.4 Setting the HTTP proxy / 17 2.5 Installing M2Eclipse / 18 2.6 Installing the NetBeansMaven plugin / 22 2.7 Maven Installation Best Practices / 24 2.7.1 Setting Maven-opts Environment variables / 24 2.7.2 Configuring user scope settings.xml / 24 2.7.3 Don't use Maven embedded in IDE / 25 2.8 Summary / 26 Chapter 3 Getting Started with Maven / 27 3.1 Writing POM / 28 3.2 Writing Main Code / 29 3.3 Writing Test Code / 30 3.4 Packing and Running / 34 3.5 37 3.6.1 Importing Maven Project / 37 3.6.2 Creating Maven Project / 39 3.6.3 Running MVN command / 39 3.7 NetBeansMaven plugin Simple Use / 41 3.7.1 Opening a Maven Project / 41 3.7.2 Creating a Maven Project / 42 3.7.3 Running the MVN command / 43 3.8 Summary / 44 Chapter 4 Background Case / 45 4.1 Simple Account Registration Service / 46 4.2 Requirements description / 46 4.2.1 Requirements Use Cases / 46 4.2.2 Interface prototype / 48 4.3 Brief Design / 49 4.3.1 Interfaces / 49 4.3.2 Module Structure / 49 4.4 Summary / 50 Chapter 5 Coordinates and Dependencies / 51 5.1 What are Maven Coordinates / 52 5.2 Description / 53 5.3 Account-email / 54 5.3.1 Account-email POM / 54 5.3.2 Account-email Main code / 56 5.3.3 Account-email Test code / 60 5.3.4 Build Account-email / 62 5.4 Dependency configuration / 62 5.5 Dependency Range / 63 5.6 Transitive Dependency / 64 5.6.1 What is transitive Dependency / 64 5.6.2 Transitive Dependency and Dependency range / 65 5.7 Dependency mediation / 66 5.8 Optional Dependency / 66 5.9 Best Practices / 68 5.9.1 Eliminating dependencies / 68 5.9.2 Categorizing dependencies / 69 5.9.3 Optimizing Dependencies / 71 5.10 Summary / 74 Chapter 6 Repository / 75 6.1 What is Maven Repository / 76 6.2 Layout of Repository / 76 6.3 Classification of Repository / 78 6.3.1 Local Warehouse / 79 6.3.2 Remote Warehouse / 80 6.3.3 Central Warehouse / 80 6.3.4 Private Server / 81 6.4 Configuration of remote Warehouse / 82 6.4.1 Authentication of remote Warehouse / 83 6.4.2 Deployment to remote Warehouse / 84 6.5 Snapshot Version / 85 6.6 Parsing dependencies from the repository / 87 6.7 mirrors / 89 6.8 Repository search services / 90 6.8.1 SonatypeNexus / 90 6.8.2 Jarvana / 91 6.8.3 MVNbrowser / 91 6.8.4 MVNrepository / 92 6.8.5 Selecting the Appropriate Warehouse Search Service / 93 6.9 Summary / 93 Chapter 7 Lifecycle and Plug-ins / 94 7.1 What Is the Lifecycle / 95...... Chapter 8 Aggregation and Inheritance Chapter 9 Nexus Creation Private Server Chapter 10 Testing with Maven Chapter 11 Continuous Integration with Hudson Chapter 12 Building Web Applications with Maven Chapter 13 Version Management Chapter 14 Flexible Building Chapter 15 Generating project sites Chapter 16 M2eclipse chapter 17: Writing Maven pluginCopy the code

Finally, there are hundreds of Internet e-books for you, come and get them if you need them. Click on the get

This page books are from the network, if there is infringement, please contact me immediately delete. My email address:[email protected]