Skip navigation

Add dependencies

Add dependencies: Java: Build Automation with Maven
Add dependencies: Java: Build Automation with Maven

Whenever a project references a dependency that isn't available in the local repository, Maven will download the dependency from a remote repository into the local repository. So far, all of our projects have included the JUnit dependency. It is sometimes going to be necessary to add other dependencies required by your project. Let's say we've added some logging to the code for debugging purposes and we need to add log4j as a dependency.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 24m
Duration
300,967
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.