Cargando…

Apache Maven dependency management : manage your Java and JEE project dependencies with ease with this hands-on guide to Maven /

An easy-to-follow, tutorial-based guide with chapters progressing from basic to advanced dependency management. If you are working with Java or Java EE projects and you want to take advantage of Maven dependency management, then this book is ideal for you. This book is also particularly useful if yo...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Lalou, Jonathan
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2013.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Basic Dependency Management; Nomenclature; Reminders on Maven origins; Dependency; Long and short designations; Long designation; Short designation; Visualizing dependencies; Transitive dependencies; Concept of transitivity; Resolution; Exclusions; Optional dependencies; Parents/modules; Parent POM; Modules; Version ranges; Summary; Chapter 2: Dependency Mechanism and Scopes; Scopes; Nomenclature of scope; Compile; Provided; Runtime; Test; System; Import.
  • Scope overlay rules (via transitive dependencies)The dependencyManagement tag; First case study; Second case study; The import scope; Modules and submodules (advanced); Maven Reactor; Reactor sorting; Reactor options and Reactor plugin for Maven 2; Management of dependencies in folders; The dependencies in their folders; Nonarchive files:; Summary; Chapter 3: Dependency Designation (advanced); The type tag; The classic cases; Creating a new packaging/type; Case study; The first step
  • Maven plugin; The second step
  • call the plugin; Classifier; The dependency plugin; The analyze goal.
  • ClasspathOther goals of dependency; Other miscellaneous plugins; The Enforce plugin; The dependency convergence; Banned dependencies; Other rules; Tattletale; Dependencies; Reports; Archives; Dependency, enforce, and tattletale
  • conclusion; Dynamic POMs and dependencies; Effective POM and settings; Dynamic POM; Study case; A quick and dirty solution; A clean solution; With properties in command lines; Profiles and settings; Dynamic POMs
  • conclusion; Summary; Chapter 4: Migration of Dependencies to Apache Maven; Case study; Setting the folders; Introduce Maven with standard libraries.
  • Available POMUnavailable POM; Disclosing information from Manifest. MF; Online tools; Checksums; Next steps; Non-Maven standard libraries; State; Quick and (very) dirty; (A bit) slower and (far) cleaner; Summary; Chapter 5: Tools Within Your IDE; Case study; IntelliJ IDEA; XML with XSD completion; Module Dependency Graph; Dependency addition; Dependency addition from Java code; Dependency search and generation within a POM; Conclusion on IntelliJ IDEA; Eclipse; Dependency view; Dependency Hierarchy view; Effective POM view; Maven Repository view; Conclusion on Eclipse; NetBeans; Overview.
  • Dependency additionSummary; Chapter 6: Release and Distribute; Best practices before release; Fixing conflicts with tier-parties; Releasing the source code; Maven Release plugin; Delivering artifacts and distributions; Artifacts; Release distribution; Simple case; Complex case; Distribution management; Summary; Appendix: Useful Public Repositories; Maven Central; iBiblio; JavaNet; JBoss; CodeHaus; Apache; OSS Sonatype; Index.