In IntelliJ idea there is a project in the context of the highest level of organization in the IDE.
To specify the configuration of the project Select File | Project Structure (item structure)
Here, you can see several project setup items. Let's take a look at them. Project Strictly speaking, here refers to the general project settings, where you can configure the name, SDK, language level, compiler output path.
modules consist of modules for each project. Modules are functional discrete units that can be compiled, executed, debugged and tested independently.
The module contains everything you need for its specific tasks: source code, build scripts, unit tests, deployment descriptors, and files. A module can be a dependency of another module in the project.
Library
It is one of the module dependency types in IntelliJ idea, compiled code, a module can rely on an archive. A Java library, for example, can include class files, directories of files and class files, and directories with Java Native library files (. dll,. So, or. jnilib). aspects of each module can have multiple levels. Aspect is required by the IDE to provide framework-specific encoding assistance, such as: Web, Spring, persistence (persistent). Most of the cases are detected by the IDE automatically, but here you can manually configure them. component A component is the output you want to generate through your project. It can be a Java archive (JAR), a Web application archive (WAR), an Enterprise archive (EAR), and so on. When you use a build tool, the artifacts are automatically configured, otherwise they are manually configured in this section
For more information about the structure of the project, read the Project Structure dialog box or watch the project structure and configuration video tutorial.
Original: Project Configuration in a nutshell
Previous: IntelliJ idea's intelligent encoding function
Next post: Run your first Java application