jamesladd/maven-cuke4duke-jump-start — Issue #2: mvn -Dcucumber.installGems=true cuke4duke:cucumber fails on Windows XP
Author: Javix
Created: 2011-11-22 09:30:05+00:00
State: open

On a Windows XP, SP3 running Maven fails with the below error:
```
C:\Documents and Settings\A187589\Mes documents\ror\jamesladd-maven-cuke4duke-jump-start>mvn -Dcucumber.installGems=true cuke4duke
:cucumber
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.mycompany.app:my-webapp:war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 62, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building my-webapp Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- cuke4duke-maven-plugin:0.4.4:cucumber (default-cli) @ my-webapp ---
[INFO] Successfully installed cuke4duke-0.4.2
[INFO] 1 gem installed
[INFO] Code:
[INFO]
[INFO] No such file or directory - and (Errno::ENOENT)
[INFO] Features:
[INFO] org/jruby/RubyFile.java:441:in `initialize'
[INFO] org/jruby/RubyIO.java:1117:in `open'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/feature_file.rb:53:in `source'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/feature_file.rb:35:in `parse'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/runtime/features_loader.rb:28:in `
load'
[INFO] org/jruby/RubyArray.java:1602:in `each'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/runtime/features_loader.rb:26:in `
load'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/runtime/features_loader.rb:14:in `
features'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/runtime.rb:132:in `features'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/runtime.rb:45:in `run!'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/cli/main.rb:48:in `execute!'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/lib/cucumber/cli/main.rb:21:in `execute'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/bin/cucumber:8:in `(root)'
[INFO] org/jruby/RubyKernel.java:1063:in `load'
[INFO] C:/Documents and Settings/A187589/.m2/repository/.jruby/gems/cucumber-0.9.4/bin/cucumber:4:in `(root)'
[INFO] org/jruby/RubyKernel.java:1063:in `load'
[INFO] C:\Documents and Settings\A187589\.m2\repository\.jruby\bin\cuke4duke:19:in `(root)'
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.064s
[INFO] Finished at: Tue Nov 22 10:25:07 CET 2011
[INFO] Final Memory: 4M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal cuke4duke:cuke4duke-maven-plugin:0.4.4:cucumber (default-cli) on project my-webapp: JRuby failed. J
ava 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/MojoExecutionException
C:\Documents and Settings\A187589\Mes documents\ror\jamesladd-maven-cuke4duke-jump-start>
```
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.6.0_27) [Windows XP-x86-java]

Gems:
```
C:\Documents and Settings\A187589\Mes documents\ror\jamesladd-maven-cuke4duke-jump-start>jruby -S gem list --local

*** LOCAL GEMS ***

actionmailer (3.1.3)
actionpack (3.1.3)
activemodel (3.1.3)
activerecord (3.1.3)
activeresource (3.1.3)
activesupport (3.1.3)
arel (2.2.1)
builder (3.0.0)
bundler (1.0.21)
capybara (1.1.2)
childprocess (0.2.2)
cucumber (1.1.2)
cucumber-rails (1.2.0)
cuke4duke (0.4.4)
diff-lcs (1.1.3)
erubis (2.7.0)
factory_girl (2.3.0)
factory_girl_rails (1.4.0)
ffi (1.0.11 java)
gherkin (2.6.6 java)
hike (1.2.1)
i18n (0.6.0)
jruby-win32ole (0.8.5)
json (1.6.1 java)
json_pure (1.6.1)
mail (2.3.0)
mime-types (1.17.2)
multi_json (1.0.3)
nokogiri (1.5.0 java)
polyglot (0.3.3)
rack (1.3.5)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.1.3)
railties (3.1.3)
rake (0.8.7)
rdoc (3.11)
rspec (2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
rspec-mocks (2.7.0)
rspec-rails (2.7.0)
rubyzip (0.9.4)
selenium-webdriver (2.13.0)
sources (0.0.1)
sprockets (2.0.3)
term-ansicolor (1.0.7)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.31)
xpath (0.1.4)

C:\Documents and Settings\A187589\Mes documents\ror\jamesladd-maven-cuke4duke-jump-start>
```
Any help would be great, thks.