# Maven。 仓库

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com.cn/help/idea/llms.txt).

> **TL;DR**
> `设置 | 构建、执行、部署 | 构建工具 | Maven | 仓库`
>
>
>
> `Maven 工具窗口 | 仓库节点`

表格显示了当前项目中遇到的 [Maven repositories](maven-support.html) 列表（包括  `settings.xml`  中的存储库），以及它们的 URL、类型（本地或远程）和最近更新的日期。

> **Note:**
> 如果您需要添加 Maven 仓库，请使用  `pom.xml` 。 欲了解更多信息，请参阅 [Maven](https://maven.apache.org/guides/introduction/introduction-to-repositories.html) 文档。

|  条目  |  描述  |
| --- | --- |
|  已编制索引的 Maven 仓库  |  此区域包含在 [Effective POM](https://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html)文件中配置的 Maven 仓库，其中列出了默认配置、配置文件和目标。 IntelliJ IDEA 会自动更新仓库列表。    如果您打开一个包含指定的其他代码库的项目，那么这些代码库将被添加到   已编制索引的 Maven 仓库  列表中，您可以更新索引。      > **Note:** > 如果您的存储库有问题，请确保在 Nexus 存储库或您环境中使用的其他存储库上启用了索引服务。    |
|  更新  |  点击此按钮以更新所选存储库的索引。 在您希望获取有关项目中使用的新部署构件（如库的新版本）信息的情况下，这可能会有所帮助。 此外，当您在  `pom.xml`  使用 Maven dependencies 补全或使用 [Maven Artifact Search](work-with-maven-dependencies.html) 对话框生成 Maven dependencies 时。    或者，您可以使用 [Maven 仓库](maven-projects-tool-window.html#maven_repo)中的信息重新索引 Maven 存储库。     |

## See also

### 过程

[Maven](maven-support.html)

### 参考

[Maven 工具窗口](maven-projects-tool-window.html) [高级配置](tuning-the-ide.html)

### 外部链接

[http://maven.apache.org/maven-1.x/reference/command-line.html](http://maven.apache.org/maven-1.x/reference/command-line.html) [http://nexus.sonatype.org](http://nexus.sonatype.org)

