Log4j Flashcards
What is Maven?
Maven is a project management and comprehension tool. Maven provides developers a complete build lifecycle framework. Development team can automate the project’s build infrastructure in almost no time as Maven uses a standard directory layout and a default build lifecycle.
What is the default Maven build lifecycle?
The default lifecycle handles your project deployment, the clean lifecycle handles project cleaning, while the site lifecycle handles the creation of your project’s site documentation.
Where / when does Maven retrieve dependencies from? Where are they stored locally?
The local repository of Maven is a directory on the local machine, where all the project artifacts are stored.
Maven local repository by default get created by Maven in %USER_HOME% directory.
What is the POM and what is the pom.xml?
A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains default values for most projects.
What defines Maven project coordinates?
Just like in any other coordinate system, a set of Maven coordinates is an address for a specific point in “space”. Maven pinpoints a project via its coordinates when one project relates to another, either as a dependency, a plugin, or a parent project reference.