Course outline for Maven and Gradle

Pre-requisites for learning Maven and Gradle

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

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 20.04/22.04 Desktop Edition.
    • JDK 1.8
    • Eclipse Oxygen Java or JEE Edition

Duration

  • 2-3 Days

Training Mode

Online training for Maven and Gradle

We provide:

  • Instructor led live training
  • Self-paced learning with access to expert coaches
  • 24x7 access to cloud labs with end to end working examples

All jnaapti sessions are 100% hands-on. All our instructors are engineers by heart. Activities are derived from real-life problems faced by our expert faculty. Self-paced hands-on sessions are delivered via Virtual Coach.

Classroom training for Maven and Gradle

Classroom sessions are conducted in client locations in:

  • Bengaluru
  • Chennai
  • Hyderabad
  • Mumbai
  • Delhi/Gurgaon/NCR

Note: Classroom training is for corporate clients only

Detailed 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