Course Outline


About Maven and Gradle

Pre-requisites

  • Good knowledge of Java and Eclipse
  • Must be comfortable in a Linux environment
  • Good to have knowledge of build tools

Duration

  • 2-3 Days

Lab Setup

  • Hardware Configuration - A minimum of 20GB of disk space and atleast 4GB of RAM
    • Ensure that all participants have a properly functioning Internet connection
  • Software Configuration
    • Ubuntu 16.04 Desktop Edition.
    • JDK 1.8
    • Eclipse Oxygen Java or JEE Edition

Course Outline for Maven and Gradle

Introduction to Maven
  • Installation
  • Configuring Apache Maven
  • IDE Integration
Plugins in Maven
  • Plugin Development
  • Configuring Plug-ins
  • Plugin Prefix Resolution
  • Developing Java Plugins
Site
  • Creating a Site
  • The APT Format
  • Snippet Macro
Maven Archetypes
  • What is an Archetype
  • Creating Archetypes
Maven Repositories
  • Installing 3rd party JARs to Local Repository
  • Deploying 3rd party JARs to Remote Repository
  • Coping with Sun JARs
  • Remote repository access through authenticated HTTPS
Introduction to Gradle
  • Installation
  • Using the Gradle Command-Line
  • The Gradle Console
  • The Gradle Wrapper
  • The Gradle Daemon
  • Dependency Management Basics
  • Introduction to multi-project builds
  • Continuous build
  • he Build Environment
  • Embedding Gradle using the Tooling API
  • Build Cache
Writing Gradle build scripts
  • Understanding Build Script Basics
  • Building Init Plugin
  • Writing Build Scripts
  • Working With Files
  • Using Ant from Gradle
  • The Build Lifecycle
  • Wrapper Plugin
  • Logging
  • Dependency Management
  • Multi-project Builds
  • Gradle Plugins
  • Standard Gradle plugins
  • The Project Report Plugin
  • The Build Dashboard Plugin
  • Comparing Builds
  • The Maven Plugin
Extending the build
  • Writing Custom Task Classes
  • Writing Custom Plugins
  • The Java Gradle Plugin Development Plugin
  • Organizing Build Logic
  • Initialization Scripts
  • The Gradle TestKit

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.