Get Eclipse to download sources and JavaDoc

I've found that for Maven based projects, there's a fast way of doing this which doesn't require any plugins or fuss:

$ mvn eclipse:eclipse -DdownloadSources -DdownloadJavadocs

Why not m2e?

I've never had much luck with m2e, it just doesn't like me. So, I stick with using mvn eclipse:eclipse and restarting/refreshing the Eclipse project whenever something major changes. It works.


~ /home 🏠 ~ talks 💬 ~ bash ~ craftsmanship ~ db ~ dongxi ~ emacs ~ escenic ~ iam ~ java ~ js ~ language ~ latex ~ ldap ~ life ~ linux ~ llm ~ mac-os-x ~ mt-foo ~ network ~ norsk ~ python ~ quotes ~ running ~ security ~ travel ~ unix ~ various ~ vcs ~ webdesign ~ windows ~ discoveries ~ cv 🧙 ~

Licensed under CC BY Creative Commons License ~ 📡 RSS feed ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@hachyderm.io ~ 🎥 youtube.com/@skybert