Description
In this course, you will :
- Understand the fundamental concepts of Maven.
- Maven must be installed and configured on both Mac and Windows platforms.
- Maven is used to create Java projects.
- Maven allows you to find and manage dependencies.
- Use Maven in conjunction with Eclipse.
- Git source control should be integrated with Maven projects.
Syllabus :
1. Maven Quick Start By Example
- The Setup: Source Control
- The Setup: Project Folder
- Accessing the Sample Content
- Maven Lifecycles Explained
- Minimal Maven Project
- Update Git Repository
- Directory Conventions in Maven
- Standard Directory Templates Explained
- Preserving Folders within Git
- Adding Java Source
- Building with Maven and the Target Directory
- Removing the Previous Build Results
- Multiple Goals
- Maven Local Repository
2. Maven Plugins
- Plugin Introduction and Documentation
- The Setup: Modern Java Source
- Compiler Plugin and Execution
- Executing the Sample Application
3. Dependencies
- Dependency Overview and Scopes Explained
- Adding Dependencies
- Adding Dependencies from Maven Central
- Cleanup: Saving Changes in Git
- Listing Project Dependencies
4. Unit Testing
- dding Unit Test Code
- JUnit Dependency Update
- Running Tests with Maven
- Test Reports
5. Maven within Eclipse
- Eclipse Quick Install on Windows
- Eclipse Quick Install on Mac OS X
- Creating a New Maven Project in Eclipse
- Importing Existing Maven Projects into Eclipse
- Reviewing the POM File within Eclipse
- Running Maven within Eclipse
6. Using Archetypes
- Using Archetypes Overview
- Archetypes Documentation
- Simple Project and Review
- Generating a Project Non-Interactively