maven project in Eclipse-201812 [message #1800447] |
Fri, 28 December 2018 10:38  |
Eclipse User |
|
|
|
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 #1800516 is a reply to message #1800485] |
Mon, 31 December 2018 14:57  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04336 seconds