Software Development
Maven Fundamentals
Getting Started with Maven
Maven Fundamentals: Documentation, Resources, Plugins, Releases, IDE Integration

Getting Started with Maven

Course Number:
sd_apma_a01_it_enus
Lesson Objectives

Getting Started with Maven

  • start the course
  • describe Maven and the functionality it provides
  • verify system requirements, install Maven, and set required Maven environment variables and paths
  • create a Maven project and navigate its structure
  • identify the features of a pom.xml
  • access and specify properties in Maven configuration files
  • build and test a basic Maven project
  • outline how dependency management is implemented by Maven using repositories
  • identify how to manage transitive dependencies and identify available dependency scope settings
  • configure repositories in a Maven settings.xml file and describe how dependencies are identified and managed in pom.xml
  • use the install plugin to manually install a dependency for a Maven project and configure an external dependency
  • use snapshot settings and specify a repository for snapshots
  • define plugin repositories and describe settings in pom.xml
  • describe the Maven Lifecycles and phases, the relation to goals, and associated plugins
  • configure and use Maven plugins
  • develop a basic Maven plugin
  • identify available Maven archetypes and select one for use
  • use the maven-archetype-webapp to generate a web application
  • add a servlet to a Maven web project
  • contrast multi-module projects with inheritance and create a Maven parent project with multiple modules
  • create and use a Maven archetype
  • describe Maven build profiles
  • identify how to activate and de-activate Maven build profiles
  • create projects in Maven

Overview/Description
Apache Maven is an open-source standards-based project management tool. Using a project object model (POM), it provides functionality for project build management, reporting and documentation. This course covers how to set up Maven and build and test projects. You'll learn how to navigate the project structure and the pom.xml, and you'll learn about repositories and dependency management. You'll learn about Maven project lifecycle phases, goals and associated plugins, and how to use archetypes to create projects. You'll also learn how to manage multi-module projects and use build profiles.

Target Audience
Developers who want to learn how to use Maven for building, managing, and automating projects

Maven Fundamentals: Documentation, Resources, Plugins, Releases, IDE Integration

Course Number:
sd_apma_a02_it_enus
Lesson Objectives

Maven Fundamentals: Documentation, Resources, Plugins, Releases, IDE Integration

  • start the course
  • identify types of tests available for Maven projects
  • add test-scoped dependencies for unit and integrating testing using Maven profiles
  • use the Surefire and Failsafe plugins to run tests for Maven projects
  • use the Maven Surefire plugin to generate test reports
  • use the Maven site lifecycle plugin to create site documentation
  • customize content and configuration for Maven site generation
  • use the Javadoc plugin to generate javadocs for Maven projects
  • use the Cobertura plugin to generate reports regarding test coverage
  • use the findbugs plugin to look for bugs in Maven projects
  • specify resource directories for Maven projects
  • filter resources for Maven projects
  • use the remote resources plugin to enable Maven projects to share resources
  • use the Maven Build Number plugin to obtain and expose a build number
  • use the Maven Shade plugin to combine, hide or change dependencies into a single artifact
  • use the Maven Build Helper plugin
  • use the Maven AntRun plugin
  • use the Maven exec plugin
  • deploy a Maven project to a remote repository
  • use the Maven Assembly plugin to create distributions
  • prepare for a Maven release
  • use the Maven Release plugin to release a project
  • troubleshoot Maven with tasks such as analyzing Maven output and dependencies, and using debug mode
  • integrate and use Maven functionality via Eclipse
  • integrate and use Maven functionality within NetBeans
  • integrate and use Maven functionality within Intellij IDEA
  • create reports and use deployment options for a Maven project

Overview/Description
Apache Maven is an open-source standards-based project management tool that uses a project object model (POM), which provides functionality for project build management, reporting, and documentation. This course covers how to use a site lifecycle to generate documentation and generate reports. You'll learn how to manage testing and deployment options includes generation of assembles and releases. You will also explore additional useful plugins such as AntRunner, how to troubleshoot Maven, and how to integrate Maven with IDEs such as Eclipse.

Target Audience
Developers who want to learn how to use Maven for building, managing, and automating projects

Close Chat Live