O'Reilly logo
live online training icon Live Online training

Maven: Taming the Beast

Topic: Software Development
Roberto Cortez

Love it or hate it (and a lot of people seem to hate it), Maven is widely used in Java development and has been the language’s de facto standard build tool for the last 15 years. Most experienced developers have had their share of Maven headaches and come out the other side, but new developers still struggle because they haven’t learned how to deal with Maven’s particularities.

Join expert Roberto Cortez to learn the basics, principles, and foundations upon which Maven is built. You’ll dig deep into Maven to learn how to improve, enhance, and debug your build and gain a good understanding of how to use Maven to build any kind of Java project.

What you'll learn-and how you can apply it

By the end of this live online course, you’ll understand:

  • How to configure Maven
  • How the Maven build lifecycle works
  • How Maven deals with dependency management

And you’ll be able to:

  • Set up a Maven project
  • Add Maven plug-ins to enhance your build
  • Understand and fix build errors

This training course is for you because...

  • You’re a Java developer
  • You are just starting your Java development career and are new to Maven
  • You already used Maven, but you feel puzzled about it and you want to learn new tricks to improve skills

Prerequisites

Recommended follow-up:

About your instructor

  • Roberto Cortez is a passionate Java developer with more than 10 years of experience. He’s involved in the open source community, helping others spread the knowledge about Java technologies. He’s a regular speaker at conferences like JavaOne, Devoxx, DevNexus, Jfokus, and others. He leads Coimbra JUG and founded the JNation Conference in Portugal. When Roberto isn’t working, he hangs out with friends, plays computer games, and spends time with family.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Getting started with Maven (55 minutes)

  • Lecture: Overview; principles; using Maven
  • Hands-on exercise: Complete your first Maven project
  • Q&A
  • Break (5 minutes)

Managing dependencies (55 minutes)

  • Lecture: Managing Maven dependencies
  • Hands-on exercises: Add dependencies; mediate dependency
  • Q&A
  • Break (5 minutes)

Plug-ins, snapshots, and projects (75 minutes)

  • Lecture: Maven plug-ins; Maven snapshots; multimodule projects
  • Hands-on exercises: Enhance your project with plug-ins; add modules
  • Q&A
  • Break (5 minutes)

Collaborating using Maven (30 minutes)

  • Lecture: Project health with Maven; team collaboration; common pitfalls

Wrap-up and Q&A (10 minutes)