====== Enabling CRM in Pro.Monitor Cockpit ======
Required to enable the CRM feature in the Pro.Monitor Cockpit application
===== Configure Maven Profile =====
The CRM feature is enabled through a Maven profile named "crm", that will includes the necessary dependencies, such as the licence-generator jar, to the build.
You need to activate the "crm" profile before the Maven build process.
=== Using Eclipse ===
- Right-click on your project in Project Explorer.
- Click on **Properties**
- On the left, click on **Maven**
- In the **Active Maven Profil (comma separated)** field, add ''crm''.
- You can now build your project
=== Command Line ===
mvn clean install -Pcrm
===== Enable CRM in Runtime =====
You must set a JVM variable to enable the CRM module in java, cause this module is not enabled by default.
==== Configuring Tomcat ====
Before launching the application in Tomcat, add the following JVM argument:
-Dcrm-module=true
This can be done by edit the ''setenv.sh'' (Linux/Mac) or ''setenv.bat'' (Windows) file in the Tomcat ''bin'' directory, adding:
export CATALINA_OPTS="$CATALINA_OPTS -Dcrm-module=true"
or for Windows:
set CATALINA_OPTS=%CATALINA_OPTS% -Dcrm-module=true