The Project Object Model is documented in an XML file (where XML stands for extensible markup language) located in the base directory of your project. The syntax for xml looks similar to html using the angle brackets to indicate the beginning and end of an element. The difference is that the elements do not follow any standard list of keywords, instead, they are descriptive of the content inside the tags. Every open XML tag must have a corresponding closing tag and tags can be nested inside one another.
- [Voiceover] The Project Object Model Syntax.…The Project Object Model, or POM,…is documented in an XML file, where XML stands for…Extensible Markup Language, which is always located in…the base directory of your project.…The syntax for XML looks similar to HTML,…using the angle brackets to indicate the beginning and end…of an element.…The difference is that the elements do not follow…any standard list of keywords.…Instead they are descriptive of the content inside the tags.…
Every open XML tag must have a corresponding closing tag.…And tags can be nested one inside the other.…The file can start with an XML declaration,…but that is optional.…All values in the file are declared as XML elements.…All projects extend the super Project Object Model,…or POM, automatically.…And the specific project POM contains…all pertinent information for that project.…Here is an example of a pom.xml file…that includes the XML declaration,…and the required maven coordinates.…
As you can see, the XML declaration takes up…the first four lines.…
- 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.