JavaGian java tutorial and java interview question and answer

JavaGian , Free Online Tutorials, JavaGian provides tutorials and interview questions of all technology like java tutorial, android, java frameworks, javascript, ajax, core java, sql, python, php, c language etc. for beginners and professionals.

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.
Console
$ mvn idea:idea

1) Create maven project

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

2) IntelliJ Support

Console
$ 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
Happy Learning !!

.