On Windows, trying the following:
mvn compile exec:java -Dexec.args="--local -c 'test.test=test1' --sleep 400000 
--resource /topology.yaml"

I get:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java 
(default-cli) on project StorageTopology: An exception occured while executing 
th
e Java class. null: InvocationTargetException: Unrecognized option: -c -> [Help 
1]

If I remove the -c it works.

If I try directly without maven shade:
storm jar StorageTopology-1.0-SNAPSHOT.jar org.apache.storm.flux.Flux --local 
--sleep 400000 --resource /topology.yaml -c 'test.test=test1'

I get:
Error: Could not find or load main class org.apache.storm.flux.Flux

I have installed storm 1.1.0 and extracted it to C:\Apache\storm-1.1.0, updated 
path -

Pom file is attached.

Please help?

Thx!
Mauro.

Attachment: pom.xml
Description: pom.xml

Reply via email to