As I’ve stated, Maven uses a Project Object Model or POM. This model has a set of standards, a project life cycle, a dependency management system and logic for executing plugin goals at certain phases in the life cycle process. One of the things that makes maven so powerful is that it relies on the concept that projects are setup with default behaviors.
- [Narrator] As I've stated,…Maven use of the concept of a Project Object Model,…or POM.…This model has a a set of standards,…a project lifecycle, a dependency management system,…and logic for executing plugin goals…at certain phases in the lifecycle process.…One of the things that makes Maven so powerful…is that it relies on the concept that projects…are set up with default behaviors.…For example, the pom.xml file is always located…in the base directory.…
The source code must be in a certain directory.…Resources necessary for the project…are in a another folder or directory.…Test cases are in a specifically named folder.…And a target folder is always created…that's used for the final JAR file.…Let's take a look at the folder structure created by Maven…for a calculator program.…As you can see the base directory is called calculator.…Inside calculator we have our src folder,…as well as our target folder, and our pom.xml file.…
Inside the source folder is where we'll find…our main Java programs and our source code,…
- 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
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.