We have a large Maven project that is trying to create an org.codehaus.mojo.exec-maven file in a script.rb file. This works fine on * nix systems because the script.rb file starts with:
(Note that I know almost nothing about Ruby.)
Of course, this does not work on Windows, even with Ruby installed, in PATH and is associated with .rb files.
I looked at http://mojo.codehaus.org/rubyscript-maven-plugin/ , but the repository they mention about, http://propellors.net/maven-repo , doesn't seem to even exist.
In the end, I want to end the script and switch to pure Java, but at the same time, in this monolithic project, I'm just trying to get it to build on Windows. Any idea on how I can do exec in a .rb file in a cross-platform way in Maven?
Thank.
source
share