cucumber-attic / cuke4duke

Cucumber support for the JVM: Java, Scala, Groovy, Clojure, Ioke, Javascript, Spring, Guice, PicoContainer, WebDriver, Ant and Maven
http://wiki.github.com/aslakhellesoy/cuke4duke
MIT License
256 stars 72 forks source link

Maven builds unsuccessful #83

Closed undees closed 13 years ago

undees commented 13 years ago

I've tried building several of the Cuke4Duke examples on both Win32 and Ubuntu, and have not yet seen a successful Maven build. Here's a typical error:

    [INFO] JRuby limited openssl loaded. http://jruby.org/openssl
    [INFO] gem install jruby-openssl for full support.
    [INFO] ERROR:  While executing gem ... (ArgumentError)
    [INFO]     Illformed requirement ["${cuke4duke.version}"]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2:35.545s
    [INFO] Finished at: Fri Oct 22 15:55:38 PDT 2010
    [INFO] Final Memory: 4M/15M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal cuke4duke:cuke4duke-maven-plugin:0.4.2:cucumber (run-features) on project cuke4duke-java-example: Execution run-features of goal cuke4duke:cuke4duke-maven-plugin:0.4.2:cucumber failed: Failed to run gem with arguments:
    install cuke4duke --version ${cuke4duke.version}: Java returned: 1 -> [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/PluginExecutionException
undees commented 13 years ago

Passing the -Dcuke4duke.version on the command line seems to be an adequate workaround.

yuyijq commented 12 years ago

@undees I encountered this problem too, please give me your all command line?

Thank you.