Published in


How do I add a project as a dependency of another project using Maven?

I was helping somebody recently that is learning to code Java, he said if is possible to add a maven project as a dependency in another maven project.

I said of course is possible, In this article I am just showing some screenshots from an example I did on his student’s computer. But before I proceed let me give a little important warning:




A humble place to learn Java and Programming better.

Recommended from Medium

Being a Software Developer — Clarity in Mind

Wedding Retro

Branching Model: clean-up those repos

Load Testing @ Applift -1

Review Weixin/WeChat Business Architecture as a Case Study

CS 373 Spring 2021 Week 3: Melanie De La Cruz

Grief, Empty Nest, and My Relentless Longing for the Past

AWS/NACL : Why the need to set ephemeral ports range for outbound rules

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


The present continuous form of “to program in Java”.

More from Medium

Ways to create objects in Java with Builder and Factory

SOLID principles: The Open-Closed Principle (Part II)

6 Java 17 Features I Didn’t Know About

Equals() Method Vs “==” Operator in Java