Once Maven has been successfully deployed in your environment, we can setup the IDE. Using the steps below, we will use the Eclipse plugin for maven to generate the eclipse project files from the maven pom files. To do this, please follow the steps below:
Installing the Eclipse Plugin for Maven
- From the Eclipse "Help" menu, select "Install New Software"
- Enter the URL for the Maven plugin in the drop down labeled "Work With". * http://q4e.googlecode.com/svn/trunk/updatesite-iam/\* (http://q4e.googlecode.com/svn/trunk/updatesite-iam/*)
- Check the "Core Features" check box and click on Next and Finish. Eclipse will download this plugin and install it
- Restart Eclipse

Define the M2_REPO Variable
The Maven plugin for eclipse uses a classpath variable called M2_REPO. This variable tells maven where to find its libraries. To set this variable, please run the following command:
Generate the Eclipse Files
All eclipse projects have a set of files that are used by eclipse to define parameters such as the classpath, project settings, etc. We can generate the Eclipse files using maven. Go to the root of your project workspace and run the following commands:
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html
Importing a Project Into Eclipse
To import a project into eclipse, follow the steps listed below.
- Start up eclipse
- Select Import Project from the file menu. You will see the dialog box below
- Select Maven 2 Project from the options available under Maven Projects
- Click on Next

- Use the browse button to select the project folder that you would like to import
- Click on Finish
- Eclipse will start to import the project
- You are now ready to start adding customizations to the OpenIAM Identity Manager
Note: OpenIAM packages a few sample projects to allow you to quickly create common tasks such as new web services, web applications, etc. Depending on your requirements, select the appropriate project
