Documentation Center

Enabling modules in web application (Java)

When building your SDL Digital Experience Accelerator (DXA) sample application, you can enable different modules.

About this task

You enable modules through profiles. These are the profiles that you can currently enable in the DXA example web application:
  • 51Degrees module: 51degrees-module
  • Contextual Image Delivery module: cid-module
  • Google Analytics module: googleanalytics-module
  • Media Manager module: mediamanager-module
  • Search module: search-module
  • Smart target module:
    • smarttarget-2013sp1-module
    • smarttarget-web8-module

Procedure

To enable modules in the DXA sample application, run the following command:
-P<modules-names>
Example:
-Psearch-module,cid-module

What to do next

If you enabled the 51Degrees module, you need to specify a Spring Profile property for it to function. See DXA Java configuration.