Development using IntelliJ IDEA and Maven 2

Setting up IntelliJ IDEA

  • Download IntelliJ IDEA from
  • Install it
  • Run it for the first time and put your license key
  • You should enable all plugins especially the Subversion repository plugin
  • Modify the C:\Program Files\JetBrains\IntelliJ IDEA 8.1\bin\idea.exe.vmoptions to this (settings vary depending on your computer):

Setting up Maven 2

  • Download it from Apache Maven website:
  • Extract it
  • Put a MAVEN_OPTS variable environment to contain JVM options

Generating IDEA project files

There are two ways to generate IDEA project files. I recommend the IDEA based since its more efficient if at a later time the pom.xml keeps changing. Details as follows:

  1. Maven based:
    • Execute mvn idea:idea from the downloaded quicktrip-core
    • Resulting files would be core-parent.ipr which you could double-click to open
  2. IntelliJ IDEA based:
    • Run IntelliJ IDEA
    • Create a new project
    • Import the parent pom.xml – this will cause IDEA to read pom.xml and modules under it
    • Choose the desired profile
    • Add facets and spring beans when asked

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s