Akila Uyanwatta
Akila Uyanwatta

Reputation: 603

Disabling "Download sources and javadoc" in eclipse

I'm using Eclipse 20210312-0638

I have unchecked "Download artifact sources" and "Download artifact javadoc" from preferences (First picture). It's still downloading them (2nd picture). Is there any other configuration that I should change?

enter image description here

enter image description here

Upvotes: 23

Views: 26584

Answers (3)

Bonana
Bonana

Reputation: 520

Someone already filled a bug at Eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=576112

Apparently, it's fixed in M2E, but not yet released. Though, you can update on the latest snapshot as explained here: https://github.com/eclipse-m2e/m2e-core/issues/252#issuecomment-926379620

It solved the issue for me.


Until the release in Eclipse, you must add this update-site: https://download.eclipse.org/technology/m2e/snapshots/1.18.3/latest/


Accoriding to @Nis this is now released in the standard Eclipse update-site, so you don't need to add the preceding update-site anymore

Upvotes: 27

I also try to work around it by clicking quickly on the stop command in the Progress tab. However it doesn't last, as soon as I change any code again, Eclipse (probably m2e), seems to refresh most Maven projects and restarts the cycle of never-ending download attempts. I wish there was a permanent solution.

Upvotes: 1

Asgaroth
Asgaroth

Reputation: 69

I've managed to stop this by clicking on the red square button near the end of the line with "Download sources and javadoc" progression bar in "Progress" tab. This red button appears for a fraction of a second, so you have to be quick with clicking it.

Upvotes: 6

Related Questions