LinuxCommandLibrary

mvn-idea

generates IntelliJ IDEA project files

TLDR

Generate IDEA project files

$ mvn idea:idea
copy
Generate module files
$ mvn idea:module
copy
Generate workspace
$ mvn idea:workspace
copy
Clean IDEA files
$ mvn idea:clean
copy
Download sources
$ mvn idea:idea -DdownloadSources=true
copy
Download JavaDocs
$ mvn idea:idea -DdownloadJavadocs=true
copy

SYNOPSIS

mvn idea:goal [options]

DESCRIPTION

mvn idea generates IntelliJ IDEA project files. It creates .ipr, .iml, and .iws files.
The plugin converts Maven project to IDEA format. Modern IDEA imports pom.xml directly.

PARAMETERS

GOAL

IDEA plugin goal.
idea
Generate all files.
module
Generate module file.
workspace
Generate workspace.
clean
Remove IDEA files.
-DdownloadSources
Include source JARs.
--help
Display help information.

CAVEATS

Deprecated approach. IDEA imports Maven natively. Legacy project support.

HISTORY

The Maven IDEA Plugin was created before IntelliJ IDEA gained native Maven import support.

SEE ALSO

mvn(1), mvn-eclipse(1), idea(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community