Hi,

I'm a new user to storm and I've gotten some
errors running the storm-starter repository
(
https://github.com/apache/incubator-storm/tree/master/examples/storm-starter
)
using Maven.

I'm running Mac OS X 10.9.2, Maven 3.2.1
and JDK 1.6.0_65 .

Executing the following command (which is
found in the README of the storm-starter
repo) at the root directory of the repository

    mvn compile exec:java -Dstorm.topology=storm.
starter.WordCountTopology

results in the following error:

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project
storm: The parameters 'mainClass' for goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:java are missing or invalid ->
[Help 1]
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException


Executing the same command in the
examples/storm-starter repository result in
the following error:

[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] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


I've tried variants like:

    mvn -f pom.xml compile exec:java -Dexec.classpathScope=compile
-Dexec.mainClass=storm.starter.WordCountTopology

but it resulted in:

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project
storm: An exception occured while executing the Java class.
storm.starter.WordCountTopology -> [Help 1]
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


Any help will be appreciated. Thank you!

Reply via email to