Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 251
Akila Uyanwatta Avatar asked Aug 10 '21 15:08

Akila Uyanwatta


People also ask

What is javadoc Eclipse?

JavaDoc tool is a document generator tool in Java programming language for generating standard documentation in HTML format. It generates API documentation. It parses the declarations ad documentation in a set of source file describing classes, methods, constructors, and fields.

How do I enable javadoc?

From the main menu, select Tools | Generate JavaDoc. In the dialog that opens, select a scope — a set of files or directories for which you want to generate the reference, and set the output directory where the generated documentation will be placed.


2 Answers

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

like image 136
Bonana Avatar answered Sep 22 '22 11:09

Bonana


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.

like image 35
Asgaroth Avatar answered Sep 19 '22 11:09

Asgaroth