One of the reasons to use Maven is the ability to easily track down dependencies using the POM. The relationships between projects can be external, ie: Log4J or JUnit; or internal where project-a depends on project-b. Project relationships are established using Maven Coordinates. Remember, a Maven coordinate is made up of groupId (similar to a java package), artifactId (the project's main identifier), and version. To indicate a project relationship we describe the dependency as groupId:artifactId:version, ie: org.springframework:spring:2.5
- [Instructor] Project Relationships.…One of the reasons to use Maven…is the ability to easily track down dependencies…using the POM file.…The relationships between projects…can be external or internal.…An example of an external relationship…might be the Log4j and JUnit,…where an internal relationship might be an example where…project a depends on project b.…All project relationships are established…using Maven coordinates.…Remember, a Maven coordinate is made up of…the group ID, the artifact ID, and the version.…
To indicate a relationship,…we describe the dependency as group ID, colon,…artifact ID, colon, version.…Don't forget that projects also inherit…project relationships such as dependencies…from parent POM files and from the super POM file.…
- 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.