Here is a high level overview of the flow when using Maven: Generate a project that consists of a POM and source code that is assembled in the Maven Standard Directory Layout Execute Maven with lifecycle phase as an argument that prompted Maven to execute a series of plugin goals. Install a Maven artifact into our local Maven repository Finally, run the app
- [Instructor] When using Maven…it's important to understand the Maven life cycle.…Let's take a look at a high level…overview of the flow when using Maven.…Maven starts by generating a project.…A project consists of a POM or Project Object Model…and source code that's assembled in the Maven…standard directory layout.…Next, we execute Maven with a life cycle phase…as an argument that prompted Maven…to execute a series of plugin goals.…After that, we can install a Maven artifact…into our local Maven repository.…
And finally, we can run the app.…Let's take a closer look at the default…life cycle phases.…One of the phases is Validate.…Validate is used to validate the project…to make sure it is correct and all…necessary information is available.…Another phase is Compile.…We compile the source code of the project.…Test.…Test compiles the source code using…a suitable unit testing framework.…These tests should not require…the code be packaged or deployed just yet.…
Package, take the compiled code…and package it in its distributable format.…
- Downloading Maven
- Installing Maven
- Understanding the lifecycle and dependencies of Maven
- Working with the Project Object Model (POM)
- Defining project relationships
- Using Maven plugins
- Creating a sample project with Maven
- Writing tests in Maven
- Packaging your app
Skill Level Intermediate
Java Database Integration with JDBCwith David Gassner2h 51m Intermediate
Java EE Essentials: Enterprise JavaBeanswith Patrick Royal1h 45m Intermediate
1. Get Started with Maven
2. Understand Maven
3. Project Object Model (POM)
4. Maven Plugins
5. Create a Project with Maven
6. Test with Maven
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.