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]

Reply via email to