I am a very beginner to Java, recently trying to use some existing libraries and suddenly Maven came out in between. I am getting no idea reading the project page on Apache website, what maven is all about.
What is it required for? I am using some a library which asks me to install Maven and some further steps but I have no idea what is it for. Some places I see, it is for automating the process of building, but I can do that easily through NetBeans as well.
Any simple explanations shall be highly appreciated.
EDIT: Thank you all so much!
Please also clarify that if a library that I am using contains a .pom file what does it mean for me. I am building a web-application using some libraries most of which contain .pom files. What does it tell me to do? Does it force me to use Maven?
Maven is an opinionated build tool and dependency management system.
.java
files into .class
files, possibly transforming your resources and packaging everthing in .jar
or .war
or .ear
or .tar.gz
or .zip
files. In this aspect it's similar to Apache Ant.A key concept in maven is the POM, which contains everything Maven knows about your project. It is found in the pom.xml
file. That file is also the best indication that a project uses Maven.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With