Apache Maven 2 effective implementation : build and manage applications with Maven, Continuum, and Archiva /


Maria Odea Ching, Brett Porter
Bok Engelsk 2009
Omfang
456 p.
Utgave
1st edition
Opplysninger
Description based upon print version of record.. - Cover; Table of Contents; Preface; Chapter 1: Maven in a Nutshell; A whirlwind tour; Installing Maven; Creating a new project from an archetype; Building the project; Reusing builds; Adding dependencies; Adding functionality through plugins; Adding resources; Running tests; Getting help; Enhancing the development process; Viewing detailed project information; Multiple module builds; What if I need to convert an existing project?; Summary; Chapter 2: Staying in Control with Archiva; Importance of a repository manager; Installing Archiva; Separating your repositories. - Adding a documentation module Building the site automatically; Assembling the site for distribution; Adding site resources; Adding a skin; Distributing the application; Generating the runtime environment with the App Assembler plugin; Generating the assembly archive; Adding the documentation to the distribution archive; Summary; Chapter 4: Application Testing with Maven; Types of testing in Maven; Unit testing (or code testing); Integration testing (or module testing); Functional and other types of testing; Working with tests; Surefire plugin configuration; Controlling the execution of tests. - Chapter 5: Reporting and Checks Review: example application; Constructing the developer's site; Maven reports; Adding reports to the project; Configuring plugins for both reporting and the build; Configuring reports in the site lifecycle; Setting up quality checks; Setting a minimum coverage requirement; Best practices for configuring coverage checks; Reporting and quality tools; Dependencies; Javadoc; Checkstyle; PMD; FindBugs; Clirr; Other tools; Report best practices; Choosing reports; Site deployment; Introducing and selecting failure thresholds; Tying it all together; Dashboard plugin. - Hooking up Maven with ArchivaSet up a proxy; Configure your settings.xml; Build your project; Searching for artifacts in Archiva; Deploying from Maven; Creating a new user; Configuring and deploying from Maven; Deploying via web form; Summary; Chapter 3: Building an Application Using Maven; Introducing the sample project; Setting up a multi-module build; Creating the parent POM; Creating the modules; Dependency management; Fleshing out the example application; Creating an organization POM; Configuring basic reports; Preparing for non-code modules; Creating a modules tree. - Inclusion and exclusion of tests Running specific tests from the command line; Skipping tests temporarily; Producing a report for the test results; Reviewing test coverage; Coverage and multimodule projects; Integration, functional, and other testing; Running integration tests using naming patterns; Operating the Selenium server; Deploying the application to a container; Simplifying test grouping with TestNG; Using a separate integration test module; Altering integration tests with profiles; Using TestNG parameters; Measuring coverage for integration tests; Summary. - Sonar. - All material in the book will be worked through by example, building up a sample application. It is intended to be read through in sequence, though once complete, should serve as a suitable reference for certain cases that can be referred to directly. This book is for Java developers who want to get started with Apache Maven. If you are tasked with build automation in your company, this book will help you to quickly and easily get started with Maven in order to improve the efficiency of your builds.
Emner
Dewey
ISBN
9781847194541

Bibliotek som har denne