Skip to main content

2014 | Buch

Introducing Maven

insite
SUCHEN

Über dieses Buch

Introducing Maven is your quick start-up primer guide on Maven. This fully packed mini-book includes the new features and enhancements found in the latest version of Maven.

In this short 100-page book, you'll learn all about Maven and how to set it up to use. You'll learn about the Maven life cycle and how to effectively leverage and use it. Also, you'll learn the basics of using site plugins and generating Javadocs, test coverage/FindBugs reports, version/release notes and more. Furthermore, you'll take advantage of Maven's archetypes to bootstrap new projects easily. Finally, you will learn how to integrate Nexus repository manager with Maven release phases.

After reading and using this short book, you'll have an understanding of Maven’s dependency management and how to organize basic and multi-module Maven projects.

Inhaltsverzeichnis

Frontmatter
Chapter 1. Getting Started with Maven
Abstract
Like other craftsmen, software developers rely on their tools to build applications. Developer’s integrated development environments (IDEs), bug-tracking tools, build tools, frameworks, and debug tools, such as memory analyzers, play a vital role in day-to-day development and maintenance of quality software. This book will discuss and explore the features of Maven, which we know will become an important tool in your software development arsenal.
Balaji Varanasi, Sudha Belida
Chapter 2. Setting Up Maven
Abstract
Maven installation is an easy and straightforward process. This chapter will explain how to install and set up Maven using the Windows 7 operating system. You can follow the same procedure with other operating systems.
Balaji Varanasi, Sudha Belida
Chapter 3. Maven Dependency Management
Abstract
Enterprise-level projects typically depend on a variety of open source libraries. Consider the scenario where you want to use Log4J for your application logging. To accomplish this, you would go to the Log4J download page, download the JAR file, and put it in your project’s lib folder or add it to the project’s class path. As you may know already, there are a couple of problems with this approach:
Balaji Varanasi, Sudha Belida
Chapter 4. Maven Project Basics
Abstract
Maven provides conventions and a standard directory layout for all of its projects. As discussed in Chapter 1, this standardization provides a uniform build interface and it also makes it easy for developers to jump from one project to another. This chapter will explain the basics of a Maven project and the pom.xml file.
Balaji Varanasi, Sudha Belida
Chapter 5. Maven Life Cycle
Abstract
Build processes generating artifacts typically require several steps and tasks to be completed successfully. Examples of such tasks include compiling source code, running a unit test, and packaging of artifacts. Maven uses the concept of goals to represent such granular tasks.
Balaji Varanasi, Sudha Belida
Chapter 6. Maven Archetypes
Abstract
Up to this point, you have created a Maven project manually, generating the folders and creating the pom.xml files from scratch. This can become tedious, especially when you frequently have to create projects. To address this issue, Maven provides archetypes. Maven archetypes are project templates that allow users to generate new projects easily.
Balaji Varanasi, Sudha Belida
Chapter 7. Documentation and Reporting
Abstract
Documentation and reporting are key aspects of any project. This is especially true for enterprise and open source projects, where many people collaborate to build the project. This chapter looks at some of Maven’s tools and plug-ins, which make publishing and maintenance of online documentation a breeze.
Balaji Varanasi, Sudha Belida
Chapter 8. Maven Release
Abstract
Repository managers are a key part of Maven deployment in enterprises. Repository managers act as a proxy of public repositories, facilitate artifact sharing and team collaboration, ensure build stability, and enable the governance of artifacts used in the enterprise.
Balaji Varanasi, Sudha Belida
Backmatter
Metadaten
Titel
Introducing Maven
verfasst von
Balaji Varanasi
Sudha Belida
Copyright-Jahr
2014
Verlag
Apress
Electronic ISBN
978-1-4842-0841-0
Print ISBN
978-1-4842-0842-7
DOI
https://doi.org/10.1007/978-1-4842-0841-0