已签出siddhi代码,&;运行mvn eclipse:eclipse在<;处抛出错误;相对路径>;//xml</相对路径>;

已签出siddhi代码,&;运行mvn eclipse:eclipse在<;处抛出错误;相对路径>;//xml</相对路径>;,eclipse,maven,build,pom.xml,siddhi,Eclipse,Maven,Build,Pom.xml,Siddhi,我觉得像siddhi这样的项目不会立竿见影,真奇怪,我想知道我错过了什么 首先,我需要一种将siddhi导入eclipse的方法,当我选择导入现有项目时,它不会显示任何项目。如果我从文件系统导入,它会显示一大堆错误,并且我无法运行像调用和键入这样的简单操作。真糟糕 在谷歌搜索的所有内容中,我安装了maven,并正在努力跟进 当我运行sudomvnclipse:eclipse时,我得到以下错误 ~/Development/workinprogress/siddhi$ sudo mvn eclips

我觉得像siddhi这样的项目不会立竿见影,真奇怪,我想知道我错过了什么

首先,我需要一种将siddhi导入eclipse的方法,当我选择导入现有项目时,它不会显示任何项目。如果我从文件系统导入,它会显示一大堆错误,并且我无法运行像
调用和键入这样的简单操作。真糟糕

在谷歌搜索的所有内容中,我安装了maven,并正在努力跟进

当我运行
sudomvnclipse: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
^M
org.wso2.carbon^M
碳产品^M
4.2.0^M
../../pom.xml^M
^M

我从pom.xml所在的siddhi文件夹中运行了mvneclipse:eclipse。现在在哪里可以找到
。/../pom.xml
。这看起来真是一只愚蠢的虫子。我在这里遗漏了什么?

令人惊讶的是,位于的源路径是错误的。提到的链接是

实际上是

我用svn公司的
svn签出了这段代码http://svn.wso2.org/repos/wso2/trunk/commons/siddhi 然后运行
chmod 777-R siddhi
。在这之后,我运行了
mvneclipse:eclipse
,将项目导入到eclipse中,并且现在项目都是绿色的


最后。。。谢谢@mb21

它是在没有eclipse支持的情况下构建的吗?i、 e.
mvn clean install
No,这个该死的东西不会构建,因为根pom.xml引用了一些愚蠢的.././pom.xml。看起来像个白痴。也许直接问西迪的人?最新的siddhi似乎是3.1.0,这是maven中的版本吗?这里几乎没有任何对话,我想知道是否有人来帮忙。svn repo中实际上有一个文件位于
。/../pom.xml