The following section describes how to build the examples provided with OpenIAM Identity Manager as well as create new custom modules. OpenIAM uses Apache Maven to build the code. This section assumes that you are not building from source.
However, if you are building from the CE code base, then you can skip the following sections:
- Registering the Bonita jar files. These jar files are only used in the Enterprise Edition of the OpenIAM Identity Manger
- Registering the OpenIAM Jar files. These files are automatically registered during the build process
You will need to register the following jars:
- gdata-appsforyourdomain-1.0-1.41.5.jar
Prerequisites
Its assumed that the following steps have already been carried out:
- Maven 3,x has been installed on your system
- Java 6.23 has been installed on your system
- JAVA_HOME is defined
Dependencies
The Identity Manager makes use of a number of prominent open source technologies in its architecture. Most of these modules are available through public maven repositories. However, a few of them are not and they need to be installed manually. These libraries are included in the OpenIAM Identity Manager distribution in the lib directory. to register these components enter the following commands:
Please note that in each of the above entries, the path specified in the "-D" parameter will need to be updated to reflect your environment.
Registering OpenIAM JARs
If you are not building the full system from source, and only wish the compile the example or modules provided from customization, you will need to register the following OpenIAM jar files as well.
Once the above steps have been carried out, you can build the project using the following command from the root directory where you checked out the source code.
The above command will build all the relevant jar and war files defined in the Modules tag in the parent POM file.