Documentation Home

Module Installation

The subscription module requires the following configuration changes.

Step 1. Add to the dependency management section to your parent pom.xml:

    <properties>
        ... 
        <broadleaf-jobs-events.version>1.1.0-SNAPSHOT</broadleaf-jobs-events.version>
        <broadleaf-subscription.version>1.1.4-SNAPSHOT</broadleaf-subscription.version>
        ...
    </properties>
    ...
     <dependency>
        <groupId>com.broadleafcommerce</groupId>
        <artifactId>broadleaf-jobs-events</artifactId>
        <version>${broadleaf-jobs-events.version}</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>          
    <dependency>
        <groupId>com.broadleafcommerce</groupId>
        <artifactId>broadleaf-subscription</artifactId>
        <version>${broadleaf-subscription.version}</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>

Step 2. Pull this dependency into your core/pom.xml:

<dependency>
    <groupId>com.broadleafcommerce</groupId>
    <artifactId>broadleaf-jobs-events</artifactId>
</dependency>
<dependency>
    <groupId>com.broadleafcommerce</groupId>
    <artifactId>broadleaf-subscription</artifactId>
</dependency>

Step 3.
Add the following files to development-shared.properties in the blPU.hibernate.hbm2ddl.import_files property:

  • Before /sql/load_admin_users.sql,\, add /config/bc/sql/load_subscription_admin_security.sql,\ and /config/bc/sql/load_subscription_jobs.sql

Step 4.
Ensure load time weaving is enabled for your application server. Enabling load time weaving