这是什么意思:不是v4.0.0 POM。对于项目org.codehaus.mojo:rpm-maven-plugin [英] What does this mean: Not a v4.0.0 POM. for project org.codehaus.mojo:rpm-maven-plugin
问题描述
恐怕我不知道这个错误是什么意思,除了有一个错误。我以前可以建立jar,但这是我第一次使用rpm-maven-plugin。
I'm afraid I just don't know what this error means, besides that there is an error. I was able to build jars before, but this is my first time using the rpm-maven-plugin.
我想创建一个rpm,但到目前为止,使用rpm-maven-plugin导致错误。
I would like to create an rpm, but so far using the rpm-maven-plugin has resulted in errors.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.mojo:rpm-maven-plugin
POM Location: C:\Users\<my name>\.m2\repository\org\codehaus\mojo\rpm-maven-plug
in\2.0.1\rpm-maven-plugin-2.0.1.pom
Reason: Not a v4.0.0 POM. for project org.codehaus.mojo:rpm-maven-plugin at C:\U
sers\<my name>\.m2\repository\org\codehaus\mojo\rpm-maven-plugin\2.0.1\rpm-maven
-plugin-2.0.1.pom
推荐答案
问题正如错误所述。我去了我的呼吁,并在上面的路上打开了POM文件。我意识到,当我没有对我们的内部系统进行身份验证时,POM文件被下载了。
The problem was exactly as the error stated. I went to my respository and opened the POM file at the path above. I realize that somehow the POM file was downloaded while I was not authenticated against one of our internal systems.
所以即使文件存在,pom文件只包含错误消息。
So even though a file existed, the pom file only contained an error message.
删除文件后在路径上并重新启动构建,构建成功。
After deleting the file at the path and restarting the build, the build was successful.
这篇关于这是什么意思:不是v4.0.0 POM。对于项目org.codehaus.mojo:rpm-maven-plugin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!