Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » Eclipse project dependencies not updated
Eclipse project dependencies not updated [message #677378] Wed, 08 June 2011 10:45 Go to next message
misja  is currently offline misja Friend
Messages: 1
Registered: June 2011
Junior Member
I just started using Eclipse IAM and so far I like it, only there's one thing that I can't get to work:
When I add a new jar-dependency to a project (using IAM's 'manage dependencies'), I can see that my workspace is rebuilt and a series of Maven Events is displayed which seem to indicate that everything went fine.
Also the 'view dependencies' graph shows my new dependency.

However, the dependencies of my Eclipse project, as shown in 'Referenced Libraries', are not updated, so when I try to launch an application from Eclipse it fails because the new jar is not on its classpath.
The workaround is to run mvn eclipse:eclipse from the command line and refresh my project in Eclipse.

Is there a way to fix this?
Any help is greatly appreciated!

[Updated on: Wed, 08 June 2011 10:46]

Report message to a moderator

Re: Eclipse project dependencies not updated [message #686129 is a reply to message #677378] Tue, 21 June 2011 01:23 Go to previous message
Carlos Sanchez is currently offline Carlos SanchezFriend
Messages: 97
Registered: July 2009
Member
usually a project -> clean will refresh the classpath container

On 6/8/11 3:45 AM, misja wrote:
> I just started using Eclipse IAM and so far I like it, only there's one
> thing that I can't get to work:
> When I add a new jar-dependency to a project (using IAM's 'manage
> dependencies'), I can see that my workspace is rebuilt and a series of
> Maven Events is displayed which seem to indicate that everything went fine.
>
> However, the dependencies of my Eclipse project, as shown in 'Referenced
> Libraries', are not updated, so when I try to launch an application from
> Eclipse it fails because the new jar is not on its classpath.
> The workaround is to run mvn eclipse:eclipse from the command line and
> refresh my project in Eclipse.
>
> Is there a way to fix this?
> Any help is greatly appreciated!
Previous Topic:problem restructuring directories for maven
Next Topic:pom dependencies not honored during WTP server deploy
Goto Forum:
  


Current Time: Thu Apr 25 13:54:17 GMT 2024

Powered by FUDForum. Page generated in 0.03155 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top