Meaning of ${project.basedir} in pom.xml

后端 未结 2 1142
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 12:40

What is the meaning of

${project.basedir}

and

${project.build.directory}

2条回答
  •  臣服心动
    2021-02-01 12:48

    ${project.basedir} is the root directory of your project.

    ${project.build.directory} is equivalent to ${project.basedir}/target

    as it is defined here: https://github.com/apache/maven/blob/trunk/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml#L53

提交回复
热议问题