This is a partial update to this issue, which I am posting as requested by 
Barrie Treloar.

I encountered this problem on a Windows install of Eclipse.  For the project I 
am working on I also needed a Linux Eclipse environment.  So I asked our Linux 
Sys Admin to install a fresh download of Eclipse Mars 2 in a Linux VM I have 
dedicated to my project.

I created new projects in this environment as Maven projects.  A Maven 
Dependencies entry was added to my project's Libraries tab for the Java Build 
Path.  I then ported my source code from my Windows Eclipse environment to this 
new Eclipse Linux environment and the related POM files.  I removed the Maven 
Dependencies entry from the Java Build Path that was created when the project 
was created.  I then deleted all the entries in my local .m2/repositories 
directory because when I executed Maven -> Update Project.... from Eclipse I 
wanted to make sure that both my local repository and my Java Build Path were 
refreshed.  I then executed Maven -> Update Project.... from Eclipse and unlike 
in my Windows environment where only the local repo was refreshed not the Maven 
Dependencies in my Java Build Path, both the Maven Dependencies in my Java 
Build Path and my local repo were refreshed.

While the problem I was experiencing in my Windows environment where my Eclipse 
was upgraded from Luna to Mars 2 without doing a fresh install appears to be 
resolved by a fresh install on the Linux platform, I am not problem free.  
While the Maven Dependencies entry was added to the Libraries tab for the Java 
Build Path and all the jar files specified in my POM were referenced in the 
Maven Dependencies, these references are flagged as missing from my local repo. 
 I am investigating this now.

I have not had the opportunity to try a fresh install in my Windows 
environment.  As soon as I have some time to do this I will update the mailing 
list again with those results as well.

I hope this explanation has been helpful.

Michael Tarullo
Contractor (Engility Corp)
Software Engineer
FAA WJH Technical Center
(609)485-5294

-----Original Message-----
From: Barrie Treloar [mailto:[email protected]] 
Sent: Wednesday, June 08, 2016 7:33 PM
To: Maven Users List
Subject: Re: Maven and Eclipse

On 9 June 2016 at 01:00, <[email protected]> wrote:

> Thanks Curtis!
>
> That's exactly what I did.
>
> As soon as I get a chance, I'll try a fresh install of Mars 2 and see 
> how it goes.  I usually do my Eclipse upgrades with fresh installs, 
> this is the first time I tried to upgrade from a previous version.
>
> Mike


And when you resolve the issue, can you post back your findings for search 
engines to find.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to