Hello, What is WTP switch? I'm not a developper , i know a little about eclipse to achieve the migration of our project from no maven management project to maven management project. I use maven m2.x I give you how i proceed. I checkout the project from cvs and disconnect it. I prepare the project pomfile I delete WEB-INF/lib. I close the project under eclipse.
On commandline I run mvn -e -X eclipse:clean to delete all WTP files. I run mvn -e -X eclipse:add-maven-repo to add variabe M2_REPO for the project variable classpaths. Maven downloads all my dependencies And finally I run mvn -e -X eclipse:eclipse. maven creates all wtp files. Open the project under eclipse and go to java build path to export all M2_REPO dependencies , used by eclipse to deploy the project. You can run maven goals with eclipse externaltools http://maven.apache.org/guides/mini/guide-ide-eclipse.html Wish it helps. Tom 2006/2/24, Srepfler Srgjan <[EMAIL PROTECTED]>: > Tom Joad wrote: > > Hello > > when you say it's not working what do you mean? > > I suppose you use maven1.x > > For me the problem was eclipse did not build my project. But maven > > packaging works fine. > > I use maven2.x but i think that you must set MAVEN_REPO as eclipse > > variable of your local repository before running eclipse:eclipse. > > Tom > > > Are you using the WTP switch? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
