logo Apache Maven IDEA Plugin (RETIRED)

Generates project files for usage with IntelliJ IDEA from the POM.

homepage: maven.apache.org/plugins
fresh index:
last release: 8 years ago, first release: 2 decades ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org


Display vulnerabilities (snyk): Vulnerability check

This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
idea:clean

Removes all existing IDEA files for the project.

idea:workspace

Creates the workspace file (*.iws) for IntelliJ IDEA.

idea:module

Creates the module files (*.iml) for IntelliJ IDEA.

idea:project

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

idea:help

Display help information on maven-idea-plugin. Call mvn idea:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

idea:idea

Goal for generating IDEA files from a POM. This plug-in provides the ability to generate project files (.ipr, .iml and .iws files) for IDEA.

Often used code snippets:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-idea-plugin</artifactId>
  <version>2.2</version>
  <configuration>
    <downloadSources>true</downloadSources>
    <dependenciesAsLibraries>true</dependenciesAsLibraries>
  </configuration>
</plugin>
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-idea-plugin</artifactId>
  <version>2.2.1</version>
  <configuration>
    <jdkLevel>1.8</jdkLevel>
    <linkModules>true</linkModules>
    <downloadSources>true</downloadSources>
  </configuration>
</plugin>
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-idea-plugin</artifactId>
  <version>2.2.1</version>
  <configuration>
    <jdkLevel>1.6</jdkLevel>
    <linkModules>true</linkModules>
    <downloadSources>true</downloadSources>
  </configuration>
</plugin>
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-idea-plugin</artifactId>
  <version>2.2</version>
  <configuration>
    <downloadSources>true</downloadSources>
  </configuration>
</plugin>
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-idea-plugin</artifactId>
  <configuration>
    <jdkName>1.5</jdkName>
  </configuration>
</plugin>

© Jiri Pinkas 2015 - 2022. All rights reserved! Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.