> Hi all, > > Does anyone have an example of how to get the cucumber-java simple example > running? I would like to use cucumber-java but cannot figure out how. > > I've gem installed cucumber and cucumber-java. When I run mvn clean package > in the simple directory, I get this error: > > 19:41:48 agentdh-2:~/Development/tools/cucumber_java/examples/simple > rbarlow$ mvn clean package > Using Java version: 1.5 > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Cucumber Simple Example > [INFO] task-segment: [clean, package] > [INFO] > ------------------------------------------------------------------------ > Downloading: > http://repo1.maven.org/maven2/cucumber/cucumber-java-parent/0.0.2/cucumber-java-parent-0.0.2.pom > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: cucumber > ArtifactId: cucumber-java-parent > Version: 0.0.2 > > Reason: Unable to download the artifact from any repository > > cucumber:cucumber-java-parent:pom:0.0.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Sat May 16 19:41:52 BST 2009 > [INFO] Final Memory: 1M/3M > [INFO] > ------------------------------------------------------------------------ > > Any suggestions? Or does anyone have an equivalent ant script? >
Try mvn install from the root folder first. Aslak > Cheers, > Raymond Barlow > > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
