Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » maven project in Eclipse-201812(Eclipse Maven)
maven project in Eclipse-201812 [message #1800447] Fri, 28 December 2018 15:38 Go to next message
harry sheng is currently offline harry shengFriend
Messages: 62
Registered: July 2009
Member
Environment: windows 10, Jdk 8, Maven 3.3.9 (external installation to Eclipse)
Just downloaded the latest Eclipse-201812 (for JEE) , and used it on a workspace which has been working on with Oxygen (for JEE) for a few weeks.

I've been working on the workspace with Oxygen for a few weeks already, so all the maven dependencies have been downloaded to the local repository already, and I have not had any maven issue in Oxygen.

Now open this workspace with Eclipse-201812, the workspace is upgraded (of course); and from the progress view, some of the dependencies (not sure if it's all) were downloaded again when Eclipse opened. And then some of the projects were not compiled because some of the dependencies cannot be downloaded! (Please note I do not have this problem with Oxygen!)

So I manually run "mvn clean install" to all projects in the workspace, and made sure every single project compiled. In Oxygen, this would solve all the maven dependency problem; but with Eclipse-201812, there still were projects that do not compile. When double-check the local epository, I did not see anything missing!

So yah, a workspace worked in Oxygen does not work in Eclipse-201812.

Re: maven project in Eclipse-201812 [message #1800485 is a reply to message #1800447] Sat, 29 December 2018 22:53 Go to previous messageGo to next message
harry sheng is currently offline harry shengFriend
Messages: 62
Registered: July 2009
Member
OK, I don't know. After I posted my original message, I closed the Eclipse 2018-12, and kept myself busy with something else.
Just now, I come back to Eclipse 2018-12 and before trying to create the workspace from scratch, I just reopened the failed workspace last time. And I do not see the maven issue anymore in the workspace. I tried update the maven project, clean/build; all work fine. I don't know what to say!

[Updated on: Sat, 29 December 2018 23:04]

Report message to a moderator

Re: maven project in Eclipse-201812 [message #1800516 is a reply to message #1800485] Mon, 31 December 2018 19:57 Go to previous message
harry sheng is currently offline harry shengFriend
Messages: 62
Registered: July 2009
Member
Tried another workspace created in Oxygen.
It seems to be a two-step procedure to get it to work.
First, open the Oxygen workspace with Eclipse 2018-12, get the workspace upgraded. The workspace have maven or java compiler errors after upgrade, even though it is clean in Oxygen. "Update Maven Project" and "clean build" the workspace won't clear the errors.
Then close Eclipse 2018-12, and reopen it (I waited couple hours before reopen, no sure if the waiting is needed or not); then do "Update Maven Project" and "clean build" projects. Everything works now.
Previous Topic:error starting eclipse.exe
Next Topic: JRE Oracle Corporation/11.0.1 is not supported
Goto Forum:
  


Current Time: Mon Sep 09 07:35:55 GMT 2024

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

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

Back to the top