idea:project

Full name:

org.apache.maven.plugins:maven-idea-plugin:2.2.1:project

Description:

Creates the project file (*.ipr) for IntelliJ IDEA.

Attributes:

  • Requires a Maven project to be executed.
  • Invokes the execution of the lifecycle phase generate-sources prior to executing itself.

Optional Parameters

Name Type Since Description
ideaVersion String - Specify the version of IDEA to target. This is needed to identify the default formatting of project-jdk-name used by IDEA. Currently supports 4.x and 5.x. This will only be used when parameter jdkName is not set.
Default value is: 5.x.
User property is: ideaVersion.
jdkLevel String - Specify the version of the JDK to use for the project for the purpose of enabled assertions and Java 5.0 language features. The default value is the specification version of the executing JVM.
User property is: jdkLevel.
jdkName String - Specify the name of the registered IDEA JDK to use for the project.
User property is: jdkName.
overwrite boolean - Whether to update the existing project files or overwrite them.
Default value is: false.
User property is: overwrite.
wildcardResourcePatterns String - Specify the resource pattern in wildcard format, for example "?*.xml;?*.properties". Currently supports 4.x and 5.x. Because IDEA doesn't distinguish between source and resources directories, this is needed. The default value corresponds to any file without a java extension. Please note that the default value includes package.html files as it's not possible to exclude those.
Default value is: !?*.java.
User property is: wildcardResourcePatterns.

Parameter Details

ideaVersion:

Specify the version of IDEA to target. This is needed to identify the default formatting of project-jdk-name used by IDEA. Currently supports 4.x and 5.x. This will only be used when parameter jdkName is not set.
  • Type: java.lang.String
  • Required: No
  • User Property: ideaVersion
  • Default: 5.x

jdkLevel:

Specify the version of the JDK to use for the project for the purpose of enabled assertions and Java 5.0 language features. The default value is the specification version of the executing JVM.
  • Type: java.lang.String
  • Required: No
  • User Property: jdkLevel

jdkName:

Specify the name of the registered IDEA JDK to use for the project.
  • Type: java.lang.String
  • Required: No
  • User Property: jdkName

overwrite:

Whether to update the existing project files or overwrite them.
  • Type: boolean
  • Required: No
  • User Property: overwrite
  • Default: false

wildcardResourcePatterns:

Specify the resource pattern in wildcard format, for example "?*.xml;?*.properties". Currently supports 4.x and 5.x. Because IDEA doesn't distinguish between source and resources directories, this is needed. The default value corresponds to any file without a java extension. Please note that the default value includes package.html files as it's not possible to exclude those.
  • Type: java.lang.String
  • Required: No
  • User Property: wildcardResourcePatterns
  • Default: !?*.java