Cargando…

Maven essentials : get started with the essentials of Apache Maven and get your build automation system up and running quickly /

Get started with the essentials of Apache Maven and get your build automation system up and running quickly About This Book Explore the essentials of Apache Maven essentials to arm yourself with all the ingredients needed to develop a comprehensive build automation system Identify the extension poin...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Siriwardena, Prabath (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewer; Untitled; Table of Contents; Preface; Chapter 1: Apache Maven Quick Start; Installing Apache Maven; Installing Apache Maven on Ubuntu; Installing Apache Maven on Mac OS X; Installing Apache Maven on Microsoft Windows; Configuring the heap size; Hello Maven!; Convention over configuration; Maven repositories; IDE integration; NetBeans integration; IntelliJ IDEA integration; Eclipse integration; Troubleshooting; Enabling Maven debug level logs; Building a dependency tree
  • Viewing all the environment variables and system propertiesViewing the effective POM file; Viewing the dependency classpath; Summary; Chapter 2: Understanding the Project Object Model (POM); Project Object Model (POM); POM hierarchy; Super POM; POM extending and overriding; Maven coordinates; The parent POM; Managing POM dependencies; Transitive dependencies; Dependency scopes; Optional dependencies; Dependency exclusion; Summary; Chapter 3: Maven Archetypes; Archetype quickstart; Batch mode; Archetype catalogues; Building an archetype catalogue; Public archetype catalogues
  • The anatomy of archetype
  • catalog.xmlThe archetype plugin goals; Java EE web applications with the archetype plugin; Deploying web applications to a remote Apache Tomcat server; Android mobile applications with the archetype plugin; EJB archives with the archetype plugin; JIRA plugins with the archetype plugin; Spring MVC applications with the archetype plugin; Summary; Chapter 4: Maven Plugins; Common Maven plugins; The clean plugin; The compiler plugin; The install plugin; The deploy plugin; The surefire plugin; The site plugin; The jar plugin; The source plugin; The resources plugin
  • The release pluginPlugin discovery and execution; Plugin management; Plugin repositories; Plugin as an extension; Summary; Chapter 5: Build Lifecycles; Standard lifecycles in Maven; The clean lifecycle; The default lifecycle; The site lifecycle; Lifecycle bindings; Lifecycle extensions; Summary; Chapter 6: Maven Assemblies; The assembly plugin; The assembly descriptor; Artifact/resource filtering; Assembly help; A runnable standalone Maven project; Summary; Chapter 7: Best Practices; Dependency management; Defining a parent module; POM properties
  • Avoiding repetitive groupIds and versions, and inheriting from the parent POMFollowing naming conventions; Think twice before you write your own plugin. You may not need it!; The Maven release plugin; The Maven enforcer plugin; Avoiding the use of unversioned plugins; Descriptive parent POM files; Documentation is your friend; Avoid overriding the default directory structure; Using SNAPSHOT versioning during the development; Get rid of unused dependencies; Avoiding keeping credentials in application POM files; Avoiding using deprecated references; Avoiding repetition
  • use archetypes