Maven Build Customization

Discover the real power of Maven 3 to manage your Java projects more effectively than ever
Preview in Mapt

Maven Build Customization

Lorenzo Anardu et al.

1 customer reviews
Discover the real power of Maven 3 to manage your Java projects more effectively than ever
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Maven Build Customization Book Cover
Maven Build Customization
$ 26.99
$ 18.90
Joomla! 1.5x Customization: Make Your Site Adapt to Your Needs Book Cover
Joomla! 1.5x Customization: Make Your Site Adapt to Your Needs
$ 26.99
$ 18.90
Buy 2 for $35.00
Save $18.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783987221
Paperback270 pages

Book Description

Maven is one of the most popular tools used to control the dependencies and to administer a Java project. Maven can be used by newbies without the need to learn complex mechanisms, but it is also a powerful tool for big projects developed by different teams and organized over different modules and repositories.

This book will provide you with all the information you need, right from managing dependencies to improving the build process of your organization. Starting with a simple project, you will create your development environment step-by-step, automatically build your code from resources (XML, DB), and package your JAR, WAR, and EAR files for different environments. Furthermore, you will learn about the complex hereditary features of Maven.

Finally, this book will benefit you by teaching Maven-Gradle and Maven-Eclipse integration using the m2e plugin, managing the Maven repository from Gradle, and building a working Maven environment from Gradle.

Table of Contents

Chapter 1: Maven and Its Philosophy
Core concepts of Maven
Introduction to the transportation project
Summary
Chapter 2: Core Maven Concepts
Build lifecycles
Maven goals
Packaging types
Adding and configuring Maven plugins
Managing dependencies
Maven settings
Properties and resource filtering
Building EE applications
Configuring repositories
Best practices
Summary
Chapter 3: Writing Plugins
A problem to solve
Developing a new plugin
Implementing Mojo
Testing Mojo
Best practices for testing
Integration testing
maven-plugin-plugin
Custom plugin – mantis-maven-plugin
Summary
Chapter 4: Managing the Code
Maven build profiles
Maven Assembly Plugin
Maven Site Plugin
Summary
Chapter 5: Continuous Integration and Delivery with Maven
Key concepts of continuous integration and delivery
The repository management server
Integrating Ant
SCM integration
Continuous Integration and Delivery with Hudson or Jenkins
Bug fixing
A more realistic case – the transportation project
Summary
Chapter 6: Maven Android
Prerequisites
Creating your own Android application with an archetype
Creating your own Android application
Declaring dependencies
Useful instrumentations to test, sign, and zipalign
Eclipse integration
Summary

What You Will Learn

  • Discover the power of Maven with a real project and practical examples
  • Develop a simple plugin to interact with databases and change the status of your bug tracker
  • Get to grips with Maven dependencies
  • Develop and test your own custom plugin
  • Customize your package with the Maven profile
  • Use the most powerful plugins to release and test your software
  • Install Maven, Nexus, and Hudson to manage your code efficiently
  • Build your first application with Maven, Gradle, and Android

Authors

Table of Contents

Chapter 1: Maven and Its Philosophy
Core concepts of Maven
Introduction to the transportation project
Summary
Chapter 2: Core Maven Concepts
Build lifecycles
Maven goals
Packaging types
Adding and configuring Maven plugins
Managing dependencies
Maven settings
Properties and resource filtering
Building EE applications
Configuring repositories
Best practices
Summary
Chapter 3: Writing Plugins
A problem to solve
Developing a new plugin
Implementing Mojo
Testing Mojo
Best practices for testing
Integration testing
maven-plugin-plugin
Custom plugin – mantis-maven-plugin
Summary
Chapter 4: Managing the Code
Maven build profiles
Maven Assembly Plugin
Maven Site Plugin
Summary
Chapter 5: Continuous Integration and Delivery with Maven
Key concepts of continuous integration and delivery
The repository management server
Integrating Ant
SCM integration
Continuous Integration and Delivery with Hudson or Jenkins
Bug fixing
A more realistic case – the transportation project
Summary
Chapter 6: Maven Android
Prerequisites
Creating your own Android application with an archetype
Creating your own Android application
Declaring dependencies
Useful instrumentations to test, sign, and zipalign
Eclipse integration
Summary

Book Details

ISBN 139781783987221
Paperback270 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Apache Maven 3 Cookbook Book Cover
Apache Maven 3 Cookbook
$ 23.99
$ 16.80
Java EE 7 Developer Handbook Book Cover
Java EE 7 Developer Handbook
$ 35.99
$ 25.20
RESTful Java Patterns and Best Practices Book Cover
RESTful Java Patterns and Best Practices
$ 16.99
$ 11.90
Mastering Apache Maven 3 Book Cover
Mastering Apache Maven 3
$ 26.99
$ 18.90
Jenkins Continuous Integration Cookbook Book Cover
Jenkins Continuous Integration Cookbook
$ 26.99
$ 18.90