Log4j Flashcards

1
Q

What is Maven?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the default Maven build lifecycle?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where / when does Maven retrieve dependencies from? Where are they stored locally?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the POM and what is the pom.xml?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What defines Maven project coordinates?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly