![]() ![]() ![]() IntelliJ IDEA displays a dialog where you can either remove or leave the selected POM file in the Project tool window. On the Ignored Files page, select a POM you want to ignore and click OK to save the changes. In the Settings dialog ( Ctrl+Alt+S), go to Build, Execution, Deployment | Build Tools | Maven | Ignored Files. You can ignore a POM file using the Ignored Files settings. Ignore POM of a linked project from the Maven settings If you want to activate your Maven projects or subprojects, select Unignore Projects from the context menu. ![]() In the window that opens, click Yes if you want to remove the project from the Projects tool window. In the Maven tool window, right-click the project that you want to ignore.įrom the context menu, select Ignore Project.Īlternatively, you can use the Project tool window or the Project Structure dialog to remove a subproject to make it ignored. To add this library to a repository, in the Maven tool window, open the ignored project node and in the Lifecycle, run the install command. If such library is not found in the Maven repository, it will be colored in red. If you ignore a project on which the other subproject depends on then the ignore project changes to a library. It might be helpful when you work with a project that has multiple subprojects and need to skip irrelevant ones. However, IntelliJ IDEA synchronizes the ignored projects with the current one. In this case, IntelliJ IDEA keeps the ignored Maven projects and subprojects in the Maven tool window, but stops their import (modules, content roots, goals, and so on) to the project. You can de-activate a Maven project using the Ignore Projects option. IntelliJ IDEA navigates to the appropriate Maven configuration file, and the related POM opens in the editor. In the Maven tool window, right-click a linked project.įrom the context menu, select Jump to Source F4. You can link, ignore projects, synchronize changes in Maven and IntelliJ IDEA projects, and configure the build and run actions. IntelliJ IDEA lets you manage Maven projects. ![]()
0 Comments
Leave a Reply. |