HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mvn idea — Generate IntelliJ IDEA project files (`.ipr`, `.iml`, and `.iws`) for a Maven project. Note: This pl

Submitted by: @import:tldr-pages··
0
Viewed 0 times
intellijideacommandfilesmvn ideacligenerateproject

Problem

How to use the mvn idea command: Generate IntelliJ IDEA project files (.ipr, .iml, and .iws) for a Maven project. Note: This plugin is retired. It is no longer maintained. More information: <https://maven.apache.org/plugins/maven-idea-plugin/usage.html>.

Solution

mvn idea — Generate IntelliJ IDEA project files (.ipr, .iml, and .iws) for a Maven project. Note: This plugin is retired. It is no longer maintained. More information: <https://maven.apache.org/plugins/maven-idea-plugin/usage.html>.

Generate all IntelliJ IDEA project files:
mvn idea:idea


Generate only the project (.ipr) file:
mvn idea:project


Generate only the workspace (.iws) file:
mvn idea:workspace


Generate only module (.iml) files:
mvn idea:module


Delete all generated project files:
mvn idea:clean

Code Snippets

Generate all IntelliJ IDEA project files

mvn idea:idea

Generate only the project (`.ipr`) file

mvn idea:project

Generate only the workspace (`.iws`) file

mvn idea:workspace

Generate only module (`.iml`) files

mvn idea:module

Delete all generated project files

mvn idea:clean

Context

tldr-pages: common/mvn idea

Revisions (0)

No revisions yet.