mkristian / ruby-maven

repo moved to
https://github.com/takari/ruby-maven
MIT License
28 stars 7 forks source link

Does not work on cygwin #7

Open rbotafogo opened 8 years ago

rbotafogo commented 8 years ago

I´m on Windows 32 with Cygwin. Trying to run ruby-maven does not work and gives the message: "cannot load org.codehaus.plexus.classworlds.launcher.Launcher". Maven is properly installed in my machine and doing mvn --version gives:

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 10:51:28-0300) Maven home: D:\rbotafogo\cygwin\usr\local\lib\apache-maven-3.0.5 Java version: 1.8.0_45, vendor: Oracle Corporation Java home: D:\rbotafogo\cygwin\jdk1.8.0_45\jre Default locale: pt_BR, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "dos"

I think the problem might come from M2_HOME that for mvn requires specs with '\' and in ruby-maven probably requires it with '/'.

mkristian commented 8 years ago

this is probably a path problem. ruby-maven does not use the installed maven from the system as it needs a maven-3.3.x version at least.

probably need to install cygwin myself to fix things

mkristian commented 8 years ago

so I did some local testing for windows and both windows shell and cygwin works with me. but appveyor produces a similar error as you described

https://ci.appveyor.com/project/mkristian/ruby-maven/build/1.0.3

not sure where this comes from - I do not have a local maven install in my windows test environment - maybe some interference with the local maven install. keep investigating - though windows is really all new to me :)

rbotafogo commented 8 years ago

Hi Christian,

I guess the problem was really on my environment. I did reinstall everything and it is now working fine! Thanks for trying it and giving me feedback.

2016-02-04 6:26 GMT-02:00 Christian Meier notifications@github.com:

so I did some local testing for windows and both windows shell and cygwin works with me. but appveyor produces a similar error as you described

https://ci.appveyor.com/project/mkristian/ruby-maven/build/1.0.3

not sure where this comes from - I do not have a local maven install in my windows test environment - maybe some interference with the local maven install. keep investigating - though windows is really all new to me :)

— Reply to this email directly or view it on GitHub https://github.com/mkristian/ruby-maven/issues/7#issuecomment-179706556.

Rodrigo Botafogo Integrando TI ao seu negócio 21-3010-4802/11-3010-1802