[转] Maven项目生成idea项目文件

创建了maven项目工程以后,可以通过命令自动生成idea项目工程,只需要执行以下命令即可:

mvn idea:idea

如果要单独生成某个文件,则可以根据如下命令来生成:

**idea:idea** is used to execute the other three goals of this plugin: project, module, and workspace.
**idea:project** is used to generate the project file (*.ipr) needed for an IntelliJ IDEA Project.
idea:module is used to generate the module files (*.iml) needed for an IntelliJ IDEA Module.
idea:workspace is used to generate the workspace file (*.iws) nee

如果要清除idea的项目工程文件:

mvn idea:clean
原文地址:https://www.cnblogs.com/eedc/p/12625876.html