什么是Maven基本目录? [英] What is the maven base directory?

查看:85
本文介绍了什么是Maven基本目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力在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.

我想它是包含pom.xml的目录(如果一个pom引用另一个pom,则是哪个pom?),但是它可能比这更微妙?

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?

推荐答案

POM简介:

project.basedir:当前项目所在的目录.

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

这篇关于什么是Maven基本目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆