r/javahelp • • Dec 29 '19

Understanding Maven

So i'm recently getting into maven for the first time in my life. I'm a bit confused and i think it's because i don't really know what maven does. I have this POM.XML file in my project. Do i just add a dependency there and maven will magically find the JAR and download it for me, or do i need to somehow also manually download the JAR and the POM just points at it?

Help would be greatly appreciated!

17 Upvotes

20 comments sorted by

View all comments

1

u/MyNameIsRichardCS54 Dec 29 '19

Maven will get the jar for you along with any other jars needed as dependencies.