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

missing dep on ioke.lang:ikj:jar:0.4.0-1 #32

Closed ssmithstone closed 14 years ago

ssmithstone commented 14 years ago

running mvn cuke4duke:cucumber maven is unable to resolve the dependency

aslakhellesoy commented 14 years ago

Are you building with -o ? They are there: http://github.com/aslakhellesoy/cuke4duke/tree/master/examples/ioke/maven/ioke/lang/ikj/

aslakhellesoy commented 14 years ago

What OS are you on? Is this Windows being finnicky again?

ssmithstone commented 14 years ago

i am not building with -o and i running os x 10.5.x the log is here http://www.pastie.org/657427 the work around i managed to do was to clone the ikj and install it locally

aslakhellesoy commented 14 years ago

Looks like the local URL is not expanded:

file://${project.basedir}/../examples/ioke/maven

On my machine this expands, and maven successfully finds the jar. Any idea why maven won't expand it? Im on mvn 2.2.1.

If you're on a lower maven version, could you try to upgrade?

Ola has said he'll push Ioke jars to http://repository.codehaus.org/ but it seems to be delayed because of a slow process to get the right credentials...

ssmithstone commented 14 years ago

mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100) Java version: 1.5.0_20 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix"

aslakhellesoy commented 14 years ago

I think I misunderstood. You're building your own project and not trying to build the cuke4duke project?

If that's the case, maybe marking the ioke jars as provided would help?

ssmithstone commented 14 years ago

ah sorry, my fault yes im running my own project using cuke4duke / java and spring , and it fails also in the example it fails, however are the iok files necessary for me to run against a spring app, maybe marking them as optional in the pom

aslakhellesoy commented 14 years ago

Could you try 0.1.8-SNAPSHOT instead? I just deployed it, using optional like you suggested.

ssmithstone commented 14 years ago

that seems to work now, i removed the cuke4duke and ioke from my .m2/repository and running mvn integration-test passes

aslakhellesoy commented 14 years ago

Fixed in 0.8-SNAPSHOT