IntelliJ IDEA 11.1 Web Help

10.0+

IntelliJ IDEA makes it possible to find and download libraries from the public Maven repositories, bypassing the pom.xml file. This way, you can keep abreast with ever-changing external libraries stored in public Maven repositories, without creating a Maven project. So doing, one can use the Maven coordinates to uniquely identify the required libraries.

To download libraries from the public maven repositories
  1. Open the Project Structure dialog.
  2. Under Project Settings, click Libraries.
  3. In the central part of the Libraries page, select the library you want to update, and click Attach Classes from Repository.

    attachLibrariesFromMavenRepositories

  4. In the dialog box that opens, specify the following parameters:
    • The desired Maven coordinates, class name or a keyword.
    • The path to the target directory.

    You can also opt to download sources and documentation, by selecting the corresponding check boxes.

  5. Click OK. IntelliJ IDEA downloads classes and stores them in the specified location. The following information pop-up frame appears:

    DownloadedFilesFromMavenRepositories

Tip

You can add your company repository to the list of searched repositories, if it is managed by Nexus. To do that, provide the Nexus URL in the section Artifactory or Nexus service URLs in the Repository Indices node of the Settings dialog.

See Also

Procedures:

Reference:

Web Resources: