简体   繁体   English

pom.xml文件的位置

[英]location of pom.xml file

I'm using maven 3.2.5 and need to configure the default build path of maven. 我正在使用maven 3.2.5并且需要配置maven的默认构建路径。

HERE I found that the changes need to be made in pom.xml file. 在这里我发现需要在pom.xml文件中进行更改。

I just can't find the pom.xml file. 我只是找不到pom.xml文件。 Can anyone please tell me the default location of pom.xml file? 谁能告诉我pom.xml文件的默认位置?

默认情况下,pom.xml位于项目的根路径,否则通过-f标志覆盖路径。

Also, be sure to have your project converted to a Maven Project: 此外,请务必将您的项目转换为Maven项目:


在此输入图像描述

Without this, there'll be no pom.xml file available at root path of the project. 如果没有这个,项目的根路径上就不会有pom.xml文件。

For more info: What is POM ? 欲了解更多信息: 什么是POM?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM