Hmmm... I have never used the Spring Tool Suite, sorry... m2eclipse creates dynamic dependencies between Eclipse projects. When you open one, all open projects which depend on it now depend on the opened project instead of the project's artifact in the Maven repository. As for "Use pom.xml interface to add by search?", I don't know what you mean... pom.xml is not an interface, it's Maven's configuration.
Best regards, Eric -----Ursprüngliche Nachricht----- Von: sean xiong [mailto:[email protected]] Gesendet: Mittwoch, 2. Juni 2010 16:28 An: Maven Users List Betreff: Re: AW: AW: build multi-projects with eclipse Yah I use 'Run as on server' with spring tool suite. I just tried and maven for eclipse has been installed into STS which I have been using. You mentioned it creates dynamic dependencies between the projects, how? Use pom.xml interface to add by search? On Jun 2, 2010, at 10:16 PM, Lewis, Eric wrote: > Well, it creates dynamic dependencies between your projects when they are > open in Eclipse, which helps a lot for development. > However, if you close a project, its artifact has to exist in your local > repository, so you have to build it with 'install' before closing the project. > > Unless I misunderstood your problem, and your Maven build doesn't find an > external dependency. In that case, you might have a Proxy configuration > problem in Eclipse. > But then, I don't know how you're building your projects within Eclipse... > with a launch configuration (Run As...)? > > Best regards, > Eric > > -----Ursprüngliche Nachricht----- > Von: sean xiong [mailto:[email protected]] > Gesendet: Mittwoch, 2. Juni 2010 16:11 > An: Maven Users List > Betreff: Re: AW: build multi-projects with eclipse > > can m2eclipse solve my problem? I download first. > > On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote: > >> Hi >> >> Are you using m2eclipse? >> If you aren't, you should :-) >> >> As for your second question: m2eclipse has an integration with Eclipse WTP, >> but personally I haven't used it yet. >> >> Best regards, >> Eric >> >> -----Ursprüngliche Nachricht----- >> Von: sean xiong [mailto:[email protected]] >> Gesendet: Mittwoch, 2. Juni 2010 15:44 >> An: [email protected] >> Betreff: build multi-projects with eclipse >> >> Hi, >> >> I'm new on Maven. Here's my problem, >> >> I built a webapp and some services in another project, both of them inherit >> from parent pom. >> I have added dependency in webapp of service project. >> >> Every time when I try to package webapp, it tries to download from >> ${user.home}/.m2/repository but failed. This happens in Eclipse only, when I >> use netbeans it works. But I don't wanna change my IDE becos of this. Anyone >> has experience on this? >> >> Another question: with Maven if I change source code in service project and >> webapp running on tomcat, would it take effect real-time? Or I have to >> rebuild and deploy it? >> >> Thank you. >> --------------------------------------------------------------------- >> 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] >> > > > --------------------------------------------------------------------- > 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] > --------------------------------------------------------------------- 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]
