Maven IntelliJ Idea Project

We have learned that how to create a simple java project in maven and also how to convert it to support eclipse IDE. Sometimes developers environment consist of IntelliJ IDE instead of eclipse.

So, lets learn about converting it to support IntelliJ also.

$ mvn idea:idea

1) Create maven project

$ mvn archetype:generate 
		-DgroupId=com.howtodoinjava 
		-DartifactId=intelliJDemo
		-DarchetypeArtifactId=maven-archetype-quickstart 
		-DinteractiveMode=false

2) IntelliJ Support

$ mvn idea:idea

Above command will download the project plugins for IntelliJ. And, above command will also create the project file (.ipr), module file (.iml) and workspace file (.iws).

maven_intellij-7339051

Happy Learning !!

Reference: http://maven.apache.org/plugins/maven-idea-plugin/index.html

Was this post helpful?

Join 7000+ Awesome Developers

Get the latest updates from industry, awesome resources, blog updates and much more.

* We do not spam !!

2 thoughts on “Maven IntelliJ Idea Project”

Leave a Comment

HowToDoInJava

A blog about Java and related technologies, the best practices, algorithms, and interview questions.