IntelliJ IDEA lets you define the libraries at the global (IDE), project, and module levels. The level of a library defines its usage scope and reusability within the IDE:
- Global libraries can be used in any of your projects.
- Project libraries can be used in any of the modules within the corresponding project. However, they are not available outside of the project in which they are defined.
- Module libraries can be used only in the corresponding module.
The following is available only in the Ultimate edition of IntelliJ IDEA
Application server libraries
Application server libraries let you use application server resources (classes) in your modules.
When you add a definition of an application server in IntelliJ IDEA, the corresponding application server library is created.
In terms of the library levels, the application server libraries are global libraries. They can be added to dependencies of any module in any of your projects.