Apache Maven Cookbook
If you are a Java developer or a manager who has experience with Apache Maven and want to extend your knowledge, then this is the ideal book for you. Apache Maven Cookbook is for those who want to learn how Apache Maven can be used for build automation. It is also meant for those familiar with Apach...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2015.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628941806719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Introduction; Installing Maven on Microsoft Windows; Installing Maven on Mac OS X; Installing Maven on Linux; Changing the JDK used by Maven; Creating a simple project with Maven; Building a simple project with Maven; Changing the location of the Maven repository; Running Maven behind an HTTP proxy server; Understanding the standard directory layout; Chapter 2: IDE Integration with Maven; Introduction; Creating a new Maven project in Eclipse
- Importing an existing Maven project in EclipseCreating a new Maven project in NetBeans; Importing an existing Maven project in NetBeans; Creating a new Maven project in IntelliJ IDEA; Importing an existing Maven project in IntelliJ IDEA; Chapter 3: Maven Lifecycle; Introduction; Understanding the Maven lifecycle, phases, and goals; Understanding the pom file; Understanding Maven settings; Understanding command-line options in Maven; Understanding Maven profiles; Adding a new Maven profile; Activating/deactivating a Maven profile; Using properties in Maven
- Specifying source encoding for platform-independent buildsChapter 4: Essential Maven Plugins; Introduction; Using the Maven Clean plugin; Using the Maven Compiler plugin; Changing the compiler used by the Maven Compiler plugin; Specifying the Java version for the Compiler plugin; Using the Maven Surefire plugin to run unit tests; Using the Maven Failsafe plugin to run integration tests; Using the Maven Resources plugin; Filtering using resources; Using Eclipse to run Maven goals; Using NetBeans to run Maven goals; Using IntelliJ IDEA to run Maven goals; Chapter 5: Dependency Management
- IntroductionChoosing the scope of dependency; Getting a report of dependencies; Getting into dependency and avoiding dependency hell; Downloading dependencies into a folder; Understanding SNAPSHOT dependencies; Handling dependency download errors; Detecting unused/undeclared dependencies; Manually installing dependencies that are not available in a repository; Dependency management using Eclipse; Dependency management using NetBeans; Dependency management using IntelliJ IDEA; Chapter 6: Code Quality Plugins; Introduction; Analyzing code coverage with the Maven JaCoCo plugin
- Analyzing code coverage with the Maven Cobertura pluginAnalyzing code with the Maven PMD plugin; Analyzing code with the Maven Checkstyle plugin; Analyzing code with the Maven FindBugs plugin; Generating source references with the Maven JXR plugin; Analyzing code with the Maven SonarQube plugin; Chapter 7: Reporting and Documentation; Introduction; Documenting with the Maven Site plugin; Generating Javadocs for a site; Generating source cross-reference for a site; Generating unit test reports for a site; Generating code coverage reports for a site; Generating code quality reports for a site
- Generating selective reports