We have a large legacy Maven project that tries to do a org.codehaus.mojo.exec-maven-plugin on a script.rb file. This runs fine on *nix systems, because the script.rb file starts with:
#!/usr/bin/env ruby
(Note that I know next to nothing about Ruby.)
Of course this doesn't work on Windows, even with Ruby installed, in the PATH, and associated with .rb files.
I looked at http://mojo.codehaus.org/rubyscript-maven-plugin/ , but the repository they mention, http://propellors.net/maven-repo , doesn't even seem to exist anymore.
Eventually I want to do away with the script and go pure Java, but in the meantime on this monolithic project I'm just trying to get it to build on Windows. Any idea on how I can do an exec on a .rb file in a cross-platform manner in Maven?
Thanks.