Getting Started with Apache Maven

Course

Online

£ 10 VAT inc.

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Design and manage simple to complex Java projects effectively using Apache Maven’s project object model.Getting Started with Apache Maven will introduce you to the world of synergized development in the Maven ecosystem. The course logically explains the various concepts of the tool, and shows how to proceed from simple assignments to complex ones.Maven is not simply a tool to invoke compilers and utilities, but it is also an approach to easily constructing your project by accessing its ever-expanding world of tools and libraries.You will learn how to pull in dependencies simply by specifying their coordinates, how to customize your lifecycle with plugins, and see how easy it can be to create a project website. You will see how to generate reports on your code that will enable understanding and will let you know when your developers are running into problems. You will understand how to scale up from simple projects to multi-module ones.This video course walks you through the steps by presenting examples, starting with very basic ones, and growing to more elaborate ones once you have mastered the basics.About the AuthorRussell Gold has been a Java developer since 1996 and is the author of the open-source project, HttpUnit, as well as a handful of smaller open source projects. He is also a committer on the Codehaus Mojo project, where he maintains the idlJ and RMIC plugins.He has spent the major part of his career looking for better ways to develop software, is a staunch advocate of agile development, and has embraced Maven as a major advance in build philosophy and technology. Russell is currently employed by Oracle.I would like to express gratitude to my wife Gwen, for her patience as I spent many hours working on this project, as well as to my boss and co-workers who have offered encouragement and feedback. 

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Govern the Maven repository, and the idea of collaborative development
Discover how to specify dependencies and get transitive dependencies
Add and customize the standard build steps
Explore the use of parent projects and management sections
Find out how Maven simplifies the creation of project websites
Get to grips with simple ways to enable reports such as test coverage and standards compliance
Release a Maven project to an internal or external repository
Create and manage a multi-module project

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 4 years

Subjects

  • Install
  • Systems
  • Project
  • Firewall
  • Proxy
  • Approach
  • Works
  • Apache
  • Java

Course programme

Introduction 5 lectures 18:29 Introduction to Apache Maven With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
Installing Apache Maven Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Understanding the Maven Repository All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
Understanding the Maven Lifecycle Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Understanding the Role of Plugins Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Introduction 5 lectures 18:29 Introduction to Apache Maven With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
Installing Apache Maven Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Understanding the Maven Repository All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
Understanding the Maven Lifecycle Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Understanding the Role of Plugins Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Introduction to Apache Maven With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
Introduction to Apache Maven With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
Introduction to Apache Maven With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
Introduction to Apache Maven With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
With all the build systems available, it can be hard to understand what makes Maven special. Understanding some history can make this clearer.
  • Understand a brief history of build tools
  • Examine the change in development practices
  • See how Maven supports best practices
Installing Apache Maven Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Installing Apache Maven Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Installing Apache Maven Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Installing Apache Maven Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Before getting started, you need to install Maven. A simple procedure is described.
  • Download Maven from the website
  • Add it to your path
  • If the path is behind a firewall, specify a proxy in the settings file
Understanding the Maven Repository All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
Understanding the Maven Repository All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
Understanding the Maven Repository All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
Understanding the Maven Repository All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
All Maven artifacts are referred to using Maven Coordinates. This is the organizational structure of the repository.
  • Use Maven to create and populate the local repository
  • Examine the local repository to see where the downloaded artifacts were placed
  • Search for known artifacts in the Maven Central repository
Understanding the Maven Lifecycle Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Understanding the Maven Lifecycle Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Understanding the Maven Lifecycle Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Understanding the Maven Lifecycle Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Maven's approach to builds is based on the lifecycle. Examining a build is a way to start seeing how it works.
  • Build the sample project
  • See how Maven's approach compares to that of ant's
  • Examine the build steps phase by phase
Understanding the Role of Plugins Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Understanding the Role of Plugins Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Understanding the Role of Plugins Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Understanding the Role of Plugins Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Maven uses plugins to perform build steps. Plugin mojos are identified by their associated goals and bound to build phases.
  • Examine the build focusing on the plugin information
  • Study a diagram that shows the binding of mojos to phases
Dependencies 5 lectures 14:24 Introducing Maven Dependencies Add dependencies to a project by specifying their Maven coordinates. Maven will do the rest.
  • Build the sample project 2 and see it fail
  • Add the required dependency to pom.xml
  • Rebuild and verify that it builds and runs
Controlling Maven Classpaths Some dependencies should only be applied to the test classpaths. The scope element controls this.
  • Try to add a test dependency to the main class and see that it fails to build
  • Use the -X switch to understand why it doesn't work
  • Examine the build with diagnostics to see how scoping controls the classpaths
Maven and Transitive Dependencies Using a dependency often means depending on its own dependencies. Maven makes this straightforward.
  • Confirm that the user project POM makes no mention of the logging library
  • Build and test the user project showing that it uses the logging library
  • Examine the build diagnostics to see that the logging library was added to the classpath
Managing Dependencies that All Projects Need – Part 1 When many projects use the same dependency, Maven can provide a single place to define it for all of them.
  • Create a parent POM and define common dependencies in it
  • Add a parent element to the child projects to refer to the parent POM
  • Remove the definitions from the child projects that can be inherited from the parent
Managing Dependencies that All Projects Need – Part 2 When a dependency is used only by a small number of projects, Maven can define a single place to define the versions to use.
  • Add a dependencies-management section to the parent POM and define a dependency in it
  • Remove the version number from the corresponding dependency in the child POM
Dependencies. 5 lectures 14:24 Introducing Maven Dependencies Add dependencies to a project by specifying their Maven coordinates. Maven will do the rest.
  • Build the sample project 2 and see it fail
  • Add the required dependency to pom.xml
  • Rebuild and verify that it builds and runs
Controlling Maven Classpaths Some dependencies should only be applied to the test classpaths. The scope element controls this When many projects use the same plugin, Maven can provide a single place to define it for all of them.
  • Create a parent POM and define common plugins in it
  • Add a parent element to the child projects to refer to the parent POM
  • Remove the definitions from the child projects, which can be...

Additional information

Govern the Maven repository, and the idea of collaborative development Discover how to specify dependencies and get transitive dependencies Add and customize the standard build steps Explore the use of parent projects and management sections Find out how Maven simplifies the creation of project websites Get to grips with simple ways to enable reports such as test coverage and standards compliance Release a Maven project to an internal or external repository Create and manage a multi-module project

Getting Started with Apache Maven

£ 10 VAT inc.