maven - Checked out siddhi code, & ran mvn eclipse:eclipse throws error at <relativePath>../../pom.xml</relativePath> -
i find odd project siddhi wont build right out of box, wonder missing.
to start need way import siddhi eclipse, , won't show me projects when choose import existing projects
. if import file system, show whole bunch of errors , cannot run simple stuff call , type
. crappy.
out of googled, installed maven, , trying follow maven eclipse configuration
when run sudo mvn eclipse:eclipse
, following error
~/development/workinprogress/siddhi$ sudo mvn eclipse:eclipse [info] scanning projects... [error] build not read 1 project -> [help 1] [error] [error] 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 find org.wso2.carbon:carbon-products:pom:4.2.0 in http://repo.maven.apache.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced , 'parent.relativepath' points @ wrong local pom @ line 22, column 13 -> [help 2] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/projectbuildingexception [error] [help 2] http://cwiki.apache.org/confluence/display/maven/unresolvablemodelexception
line 22 has
<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
i ran mvn eclipse:eclipse siddhi folder pom.xml exists. find ../../pom.xml
. seems silly bug. missing here?
surprisingly source path @ website wrong. link mentioned is
it
i checked code out using svn co http://svn.wso2.org/repos/wso2/trunk/commons/siddhi siddhi
, ran chmod 777 -r siddhi
. after ran mvn eclipse:eclipse
, imported projects eclipse , green now.
finally... @mb21
Comments
Post a Comment