IDEA Maven Plugin

IntelliJIdea Workspace Creator

License

License

Categories

Categories

IDE Development Tools IntelliJ IDEA Maven Build Tools
GroupId

GroupId

com.github.zhve
ArtifactId

ArtifactId

idea-maven-plugin
Last Version

Last Version

3.0b1
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

IDEA Maven Plugin
IntelliJIdea Workspace Creator
Project URL

Project URL

https://github.com/zhve/idea-maven-plugin
Source Code Management

Source Code Management

https://github.com/zhve/idea-maven-plugin

Download idea-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.zhve</groupId>
    <artifactId>idea-maven-plugin</artifactId>
    <version>3.0b1</version>
</plugin>

Dependencies

compile (6)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.2.1
org.apache.maven : maven-project jar 2.2.1
org.apache.maven : maven-artifact jar 2.2.1
org.apache.maven : maven-artifact-manager jar 2.2.1
org.apache.maven : maven-model jar 2.2.1
velocity : velocity jar 1.5

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

Project Modules

There are no modules declared in this project.

IDEA Maven Plugin

Build Status

idea-maven-plugin creates IDEA workspace files .iml, .ipr and .iws with your own settings based only on project structure and given profile.

Intro

Maven Integration (build-in plugin to open maven projects in IDEA) is a good choice when you just want to open a project from scratch. if you want specific project settings you have to set its up manually. Maven Integration doesn't have any configuration file, it just opens your project with default settings. If you want your own, it's plugin for you.

How to Use

IDEA Maven Plugin is deployed to Maven Central and you can simple run

mvn com.github.zhve:idea-maven-plugin:3.0b1:idea

If you want to use non default settings, save idea.bat to your project root, edit parameters, and run:

Create workspace: idea idea

Delete workspace: idea clean

Parameters

COMMON

Parameter name Description Default value
jdkName Name of the registered IDEA SDK 1.7
jdkLevel Name of the project language level JDK_1_7
wildcardResourcePatterns Resource pattern in wildcard format, for example ?*.xml;?*.properties !?*.java
compileInBackground Enable/disable compilation in background true
assertNotNull Enable/disable adding assertion for @NotNull at run-time false

PROJECT

Parameter name Description Default value
autoscrollToSource Autoscroll to Source (Project Pane) false
autoscrollFromSource Autoscroll from Source (Project Pane) false
hideEmptyPackages Compact Empty Middle Packages (Project Pane) true
sortByType Sort by Type (Project Pane) false
optimizeImportsBeforeCommit Optimize imports before commit true
reformatCodeBeforeCommit Reformat code before commit false
performCodeAnalysisBeforeCommit Perform code analysis before commit false

JEE

Parameter name Description Default value
applicationServerTitle Run/Debug Configuration menu item [empty]
applicationServerName Application server: Tomcat or Jetty Tomcat
applicationServerVersion Full version of the application server 7.0.54
applicationServerFullName Full name of the application server [empty]
selectedWarArtifactId Selected configuration in Run/Debug menu [empty]
vmParameters VM parameters for the application server [empty]
openInBrowser On/Off browser auto launch false
openInBrowserUrl Start the browser at this url http://localhost:8080
deploymentContextPath deployment application context path /
assembleModulesIntoJars On/Off assembling modules to jars true

GAE

Parameter name Description Default value
gaeHome Google App Engine Java SDK home directory [empty]

Versions

Version
3.0b1