我发现像 siddhi 这样的项目不能开箱即用,这真的很奇怪,我想知道我错过了什么。
首先,我只需要将 siddhi 导入 eclipse 的方法,当我选择时它不会显示任何项目Import Existing Projects
。如果我从文件系统导入,它会显示一大堆错误,我无法运行简单的东西,例如Call and Type
. 真的很烂。
在我搜索的所有内容中,我安装了 maven,并尝试遵循maven eclipse 配置
当我运行时sudo mvn eclipse:eclipse
,我收到以下错误
~/Development/workinprogress/siddhi$ sudo mvn eclipse:eclipse
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.wso2.cep:cep-parent:3.1.0 (/home/jsiddharth/Development/workinprogress/siddhi/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.wso2.carbon:carbon-products:pom:4.2.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 22, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
22号线有
<parent>^M
<groupId>org.wso2.carbon</groupId>^M
<artifactId>carbon-products</artifactId>^M
<version>4.2.0</version>^M
<relativePath>../../pom.xml</relativePath>^M
</parent>^M
我从 pom.xml 所在的 siddhi 文件夹运行 mvn eclipse:eclipse 。现在我在哪里可以找到../../pom.xml
。这似乎是一个非常愚蠢的错误。我在这里想念什么?