You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Les Hazlewood edited this page Mar 9, 2016
·
13 revisions
This guide walks you through setting up the stormpath-sdk-java project in IntelliJ
Everything shown below is the one-time process required to get the project setup
Clone the project
Fire up IntelliJ (stock community edition shown)
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.
Open the plugins from the main IntelliJ screen
Click the Browse repositories... button at the bottom of the window.
Type gmaven in the search field at the top and click the Install button for GMavenPlus.
Click the Restart Intellij IDEA button
Click the Restart button
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)
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.