如何强制 IntelliJ 使用 Maven 下载 javadoc? [英] How to force IntelliJ to download javadocs with Maven?

查看:28
本文介绍了如何强制 IntelliJ 使用 Maven 下载 javadoc?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对项目结构中的一些 Maven 条目有以下描述:

I have the following descriptions for some Maven entries in Project Structure:

Javadoc 文件在文件系统中确实不存在.同时,它存在于中央存储库中.为什么没有下载,如何强制下载?

Javadoc file is really absent in filesystem. Simultaneously, it is present in central repository. Why it was not downloaded and how to download it by force?

更新

这些选项已经开启:

在设置后尝试重新编译、关闭/打开等...

Have tried to recompile, close/open etc after setting them...

推荐答案

点击 intelij 右侧的maven 项目"(确保工具按钮打开),然后点击下载文档".

Click on the "maven projects" (make sure tool buttons are on) on the right side of intelij and then click on "Download Documentation".

此外,为了以后下载,您可以转到文件 -> 设置 -> 构建、执行、部署,-> 构建工具 -> Maven -> 导入 -> 标记文档"复选框并应用设置

Also, for future downloading you can go to the File -> Settings -> Build,execution, deployment, -> build tools -> Maven -> importing -> mark "Documentation" checkbox and apply settings

这篇关于如何强制 IntelliJ 使用 Maven 下载 javadoc?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆