非解析父POM:找不到神器 [英] Non-resolvable parent POM: Could not find artifact

查看:457
本文介绍了非解析父POM:找不到神器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我看着大猩猩逻辑的开源测试工具,并需要在为了某些更改能够登录东西到控制台。我已经检查了code OUT源代码控制的机器人代理,现在我希望建立一个新的.jar代理文件。我需要使用的结果
    MVN全新安装打造.jar文件。当我尝试建立它的命令行是给这个错误结果
非解析父POM:找不到神器com.gorillalogic.monkeytalk:monkeytalk:POM:1.0.12的快照和parent.relativePath点错了地方POM @第6行,第10列 - &GT ; [求助2]

谁能帮我这还是让我知道这意味着什么?谢谢。 :)
我不明白,行家,只是想知道这意味着什么。

下面是pom.xml文件行6-10结果
结果

 <母体GT;
<&的groupId GT; com.gorillalogic.monkeytalk< /的groupId>
    <&的artifactId GT; monkeytalk< / artifactId的>
    <&版GT; 1.0.12-SNAPSHOT< /版本>
    <relativePath>/Users/henry/Desktop/monkeytalk-agent-android/parent/pom.xml</relativePath>
&LT; /母体GT;


解决方案

该项目似乎是由另一Maven项目moneytalk模块项目。
作为这个项目可以继承属性,相关的管理信息,插件从父项目信息,行家尝试读取父pom.xml中。
如果父pom.xml的不可用在指定的位置,Maven构建就会失败。

一个选项是所有检出含父项目的项目。
另一种选择是将在所需位置的父项目的pom.xml(你的情况/Users/henry/Desktop/monkeytalk-agent-android/parent/pom.xml

I have recently looked into Gorilla Logic's open source testing tool and need to make some changes in order to be able to log something to the console. I have checked out the code out of source control for the "Android Agent" and now I am looking to build a new .jar agent file. I need to use the
mvn clean install to build the .jar file. When I try to build it the command line is giving this error
Non-resolvable parent POM: Could not find artifact com.gorillalogic.monkeytalk:monkeytalk:pom:1.0.12-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 6, column 10 -> [Help 2]

Can anyone help me with this or let me know what this means? Thanks. :) I don't understand maven and just want to know what it means.

Here is the pom.xml file line 6-10

<parent> 
<groupId>com.gorillalogic.monkeytalk</groupId>
    <artifactId>monkeytalk</artifactId>
    <version>1.0.12-SNAPSHOT</version>
    <relativePath>/Users/henry/Desktop/monkeytalk-agent-android/parent/pom.xml</relativePath>
</parent>

解决方案

This project seems to be module project under another maven project "moneytalk". As this project can inherit properties, dependency management information, plugin information from the parent project, maven tries to read the parent pom.xml. If the parent pom.xml is not available at the specified location, maven build will fail.

One option is to checkout all the projects including the parent project. Other option is to place the pom.xml of the parent project at the required location (in your case /Users/henry/Desktop/monkeytalk-agent-android/parent/pom.xml

这篇关于非解析父POM:找不到神器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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