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

cuke4duke maven plugin can't find cucumber.mojo - version 0.4.3 #95

Closed dfalves closed 13 years ago

dfalves commented 13 years ago

I have created a project which follows the directions here: https://github.com/aslakhellesoy/cuke4duke/wiki/maven, but when I get to the "Bootstrapping" section and execute the mvn command documented, I get the error, "The plugin 'cucumber.mojo:cucumber-maven-plugin' does not exist or no valid version could be found". In the settings.xml file in the conf directory of my maven installation I have: cucumber.mojo

in the section. And,

Below is the text of my projects pom file, any help would be much appreciated. Thanks David

4.0.0 com.ironmountain.test cucumber-cuke4duke-selenium-example 0.0.1-SNAPSHOT pom cumcumber-cuke4duke-selenium cumcumber-cuke4duke-selenium setup example codehaus http://repository.codehaus.org cukes http://cukes.info/maven selenium-repository http://selenium.googlecode.com/svn/repository/ cuke4duke file://C:\Cuke4Duke\cuke4duke-0.4.3.jar/ cukes http://cukes.info/maven 0.4.3 cuke4duke cuke4duke ${cuke4duke.version} test org.picocontainer picocontainer 2.8.3 test junit junit 4.7 test org.seleniumhq.selenium selenium 2.0a6 cuke4duke cuke4duke-maven-plugin ${cuke4duke.version} -Dcuke4duke.objectFactory=cuke4duke.internal.jvmclass.PicoFactory ${project.basedir}/target/test-classes install cuke4duke --version ${cuke4duke.version} run-features integration-test cucumber cucumber.mojo cucumber-maven-plugin C:\jruby-1.6.0.RC1 ${project.basedir}/src/test/features
dfalves commented 13 years ago

Aslak,

What a difference a good night's sleep after a long day makes. I resolved the problem in the morning after painstakingly going through the pom and realizing that I had combined some components from multiple examples (namely cucumber and cuke4duke). I am all set. I am not sure if there is a cucumber-maven-plugin issue or if I am just missing some dependencies, etc., but I did not need this for my purposes and simply removed it and all is well.

Thanks. David