Maven Non-resolvable parent POM: Failure to find com.espertech:esper_examples:pom:4.5. · 2012年04月23日 · 0 次阅读

[i=s] 本帖最后由 scmroad 于 2012-4-23 15:33 编辑

D:\test\Esper>mvn install [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.espertech:esper-example-stockticker:1.1.1 (D:\test\Esper\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.espertech:esper_examples:pom:4.5.0 in 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 3, column 10 -> [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] [ERROR] [Help 2] D:\test\Esper>

Esper 的 Pom.xml[code] 4.0.0 com.espertech esper_examples 4.5.0 Esper Examples - StockTicker com.espertech esper-example-stockticker jar 1.1.1 Esper Example StockTicker com.espertech esper log4j log4j commons-logging commons-logging org.antlr antlr-runtime 3.2 cglib cglib-nodep 2.2 junit junit org.apache.maven.plugins maven-jar-plugin EsperTech org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 org.apache.maven.plugins maven-surefire-plugin -Dlog4j.configuration=../etc/log4j.xml -Xms256m -Xmx256m log4j.configuration log4j.xml etc [/code]

应该到这个文件的上一级去执行 mvn compile 因为这个项目只是大项目中的一个 module

详情见父一级的 pom.xml

需要 登录 后方可回复。