caelum / vraptor-scaffold

VRaptor Scaffold extension to make it easier configuring new projects and plugins
http://vraptor.org
MIT License
55 stars 22 forks source link

the current combination of maven plugin versions are causing ClassNotFoundException with maven 3 #62

Closed fabiokung closed 12 years ago

fabiokung commented 13 years ago

java.lang.ClassNotFoundException: org.apache.maven.toolchain.ToolchainManager

rodolfoliviero commented 13 years ago

Removing versions for plugins maven 3 warning that it might not build in the future. and change the versions for older versions can solve the problem? How can I reproduce the problem?

fabiokung commented 13 years ago

I am sorry, my mistake. Later I found that the problem actually happens with older version of maven (such as 2.0.8), and not maven 3.

I can see two ways to reproduce: 1) follow the steps in my last blog post to deploy VRaptor apps to Heroku. You will be able to see the problem when running lein deps, which uses an old version of an embedded maven. And 2) running mvn tasks through a fairly old ant (1.6 should do) and the maven-ant-tasks. Particularly, the artifact:mvn task, when not pointed to a MAVEN_HOME dir, will download and use ab embedded mvn.

That way should allow to us to try older versions of plugins that are compatible.

rodolfoliviero commented 13 years ago

maven-compiler-plugin is the guilty any version after 2.0.2 breaking on maven 2.0.10 or older. Could you update this pull request?

rodolfoliviero commented 12 years ago

now a days heroku has native support for java. Thanks

Closing...