nicoulaj / vagrant-maven-plugin

Maven plugin for Vagrant.
Apache License 2.0
33 stars 26 forks source link

run-integration-tests failed complaining about missing class #23

Open gnigats opened 9 years ago

gnigats commented 9 years ago

Is this due to my settings or is it a bug? first time When I tried to build, the I had 2 errors: --- maven-invoker-plugin:1.8:run (run-integration-tests) @ vagrant-maven-plugin --- [INFO] Building: all\pom.xml [INFO] run script selector.bsh.bsh [INFO] ..SKIPPED (0.1 s) [INFO] Building: box\pom.xml [INFO] run script selector.bsh.bsh [INFO] ..SKIPPED (0.0 s) [INFO] Building: init\pom.xml [INFO] run script prebuild.groovy [INFO] ..FAILED (12.9 s) [INFO] The build exited with code 1. See D:\oss\SRC\gitHub\vagrantG\vagrant-maven-plugin\target\it\projects\init\build.log for details. [INFO] Building: init-twice\pom.xml [INFO] run script prebuild.groovy [INFO] run script postbuild.groovy [INFO] ..FAILED (3.0 s) [INFO] The post-build script returned false.

that build.log showed: [WARNING] Error injecting: de.saumya.mojo.ruby.gems.DefaultGemManager java.lang.NoClassDefFoundError: org/sonatype/aether/RepositorySystemSession

I tried to put a version 2.8 or 2.10 to the maven-dependency-plugin in the pom.xml, but it did not help. I am using java 1.8 64bit, maven 3.2.1 from within cygwin while there ruby 2.2.2p95 is accessible.

please advise which direction should I take. thanks !!

nicoulaj commented 8 years ago

Duplicate of #22, fixed by 8b71ef0bceff199c496ce90f4e79eb6dca1724fd.

nicoulaj commented 8 years ago

See also: #14