Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maven base directory?

Tags:

maven

I'm struggling to find documentation on the maven site that explicitly tells me what the "base directory" is. The term is bandied around on several pages as if I'm meant to already know what it means.

I imagine it's the directory that contains the pom.xml (which pom, if one pom references another?), but it might be more subtle than that?

like image 623
bacar Avatar asked Jan 22 '13 14:01

bacar


2 Answers

Found it in the Introduction to the POM:

project.basedir: The directory that the current project resides in.

like image 54
bacar Avatar answered Sep 21 '22 13:09

bacar


It's a directory where the pom.xml is stored (in the root of the project).

like image 21
Petr Mensik Avatar answered Sep 21 '22 13:09

Petr Mensik