jruby-maven-plugins
jruby-maven-plugins copied to clipboard
Make JRuby version checking more robust
This PR makes two changes:
- Use the actual JRuby version in ScriptFactory version tests. This avoids us having to update these hardcoded strings with the JRuby version changes.
- Modify the
jruby -vparsing to look for the line starting withjruby, avoiding other logging output from JRuby or the underlying JDK (#140).
This will fix #140, but I was unable to reproduce the original issue even unpatched.