Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

IntelliJ Setup

Les Hazlewood edited this page Mar 9, 2016 · 13 revisions

This guide walks you through setting up the stormpath-sdk-java project in IntelliJ

This guide is relevant if you will be editing or creating test cases within the TCK project.

Everything shown below is the one-time process required to get the project setup

  1. Clone the project

  2. Fire up IntelliJ (stock community edition shown)

  3. Configure the GMavenPlus plugin

    We recently switched away from the gmaven-plugin as it has not had a new release since 2013. The GMavenPlus plugin is under active development.

    However, IntelliJ supports the gmaven-plugin as a default plugin. GMavenPlus must be installed manually.

    1. Open the plugins from the main IntelliJ screen

    2. Click the Browse repositories... button at the bottom of the window.

    3. Type gmaven in the search field at the top and click the Install button for GMavenPlus.

    4. Click the Restart Intellij IDEA button

    5. Click the Restart button

  4. Click Open and select the pom.xml file from the stormpath-sdk-java folder. Click the OK button

    (Note: It may take up to a minute for IntelliJ to download all the dependencies and compile the project the first time)

  5. Confirm that project folders are identified properly by IntelliJ

    When you expand one of the modules, say impl - and look within the folders, you should see the src/main/java is colored blue. This indicates that it's source code. src/test/groovy and src/test/java should be colored green, which indicates that it's test code.