Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] excessif dependency resolving before launching a main

I found this potentially related ticket

On Thu, Jun 4, 2020 at 5:49 PM Clément Guillaume <clement@xxxxxxxxxxxxx> wrote:

I have noticed, after upgrading to eclipse 2020-03, that it takes more time between the moment I trigger a main method to run and the moment it starts running (even when there is no code change in between multiple run).
Using the "Maven console" in the "Console view", i see way more "Resolving ...." log than before.
I think the more project dependencies your project has the more log there is.

For example, I open the datarouter projects in eclipse.
I added a hello world main in the CopyTableService class.
I counted the number of log line for each version of eclipse between the time I trigger the run and the beginning of the run.

in eclipse 2019-12 (m2e, 51 lines (3 for each dependency of the project)
in eclipse 2020-03 (m2e, 468 lines:
  • 51 similar to 2019-16 (with "with classifier null to")
  • 417 additional lines (with "with classifier  to")
also 468 lines in eclipse 2020-06-M2

I have noticed the same extra processing before launching a testng test.

What caused this regression?
Is it possible to revert that or configure eclipse to reduce those processing?
Why are some processing necessary in between multiple runs of the same unmodified code?

Thanks, Clément Guillaume

Back to the top