MyEclipse: maven test directories and web project deployment question joao.mota - Jul 30, 2008 - 06:26 PM Post subject: maven test directories and web project deployment question
Hello,
I am using MyEclipse 6.5.1-GA-20080715.
i am trying to trying to migrate our applications from eclipse+.m2eclipse to myeclipse with the maven4MyEclipse.
I checked out an already mavenized web project from the svn.
Edited the .project file to add the build command:
But when i went to run on a server i started to run into problems. My testcases (defined under /src/test/java) are getting deployed, but the dependencies that they have are correctly not being added (since they are marked with test scope).
Do i have a workaround for this situation besides removing the src/test/java and src/test/resources from the build path?
best regards,
Joaosupport-rkalla - Jul 31, 2008 - 11:03 PM Post subject: RE: maven test directories and web project deployment questi
Joao,
Maven4MyEclipse is a custom implementation of m2eclipse, so for the most part executing your POM and resolving dependencies is still handled under the covers by the main maven libraries (just as m2eclipse delegated).
If you are deploying your project to a server, and running command-line "mvn" to run the different goals and it's failing, I don't think this is related to Maven4MyEclipse necessarily... could you clarify your running situation on the server and why you think they are connected? (I'm a bit of a Maven novice and I might have missed some obvious detail here).