我已经从https://github.com/apache/incubator-storm下载了incubator-storm代码。现在,我尝试使用以下命令运行WordCountTopology:
mvn compile exec:java -Dstorm.topology=storm.starter.WordCountTopology
按照https://github.com/apache/incubator-storm/tree/master/examples/storm-starter上记录的说明进行操作。但是,我收到以下错误:
ubuntu@ip-10-242-202-111:~/incubator-storm-master/examples/storm-starter$ mvn compile exec:java -Dstorm.topology=storm.starter.WordCountTopology [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.apache.storm:storm:0.9.2-incubating-SNAPSHOT, /home/ubuntu/incubator-storm-master/pom.xml, line 661, column 21 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ org.apache.storm:storm:0.9.2-incubating-SNAPSHOT, /home/ubuntu/incubator-storm-master/pom.xml, line 627, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building storm-starter 0.9.2-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.156s [INFO] Finished at: Mon May 05 02:56:08 UTC 2014 [INFO] Final Memory: 9M/56M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project storm-starter: Could not resolve dependencies for project org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT: Failure to find org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT in https://clojars.org/repo/ was cached in the local repository, resolution will not be reattempted until the update interval of clojars has elapsed or updates are forced -> [Help 1] [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/DependencyResolutionException
非常感谢您对我的问题的任何见解。谢谢!