You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steve Cohen <sc...@javactivity.org> on 2010/01/20 14:28:19 UTC

What command-line version of maven should I be using?

My workspace is in a mess.  I have this build error that I can make no
sense of.  Maven is trying for some reason I don't understand to copy
files from workspace/subproject/target/classes to
workspace/webproject/src/main/webapp/WEB-INF/classes and failing due to
an access denied error.  Access denied?  This is running on Windows.

I am not expecting this copy to happen.  The subproject is a simple
dependency, with no parent-child or module relationship.  I expect the
subproject jar to have been built and simply copied to WEB-INF/lib -
which in fact does happen.  So why the unwanted and redundant attempt to
copy class files and the access denied failure?

I could maybe answer this question myself with debugging output, but the
installed command line maven is ancient (2.0.7) and the build just works
over there.  So what Maven should I download to produce a build
compatible with what m2eclipse is doing?

Another question:  What maven goals does m2eclipse perform when doing
the eclipse automated builds?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org