This article covers a Bloomreach Experience Manager version 13. There's an updated version available that covers our most recent release.

23-05-2019

Build the Project

Previous: Create the Project

Build the web applications (WARs) for your project.
Now would be a good moment to put your project under version control. Doing this before you tell Maven to build your project helps you distinguish project files from generated files.

Build your project in the root folder of your project, using the following command:

cd myproject
mvn clean verify 

This will produce six JAR files and three WAR files:

  • repository-data/development/target/myproject-repository-data-development-0.1.0-SNAPSHOT.jar
  • repository-data/site-development/target/myproject-repository-data-site-development-0.1.0-SNAPSHOT.jar
  • repository-data/site/target/myproject-repository-data-site-0.1.0-SNAPSHOT.jar
  • repository-data/webfiles/target/myproject-repository-data-webfiles-0.1.0-SNAPSHOT.jar
  • repository-data/application/target/myproject-repository-data-application-0.1.0-SNAPSHOT.jar
  • site/components/target/myproject-components-0.1.0-SNAPSHOT.jar
  • cms/target/cms.war
  • site/target/site.war
  • essentials/target/essentials.war

The CMS module has dependencies on the repository-data-* JARs so that they are packaged with the cms WAR. When the CMS WAR is started up for the first time, the definitions found in the deployed repository data JARs are loaded into the repository.

The myproject-components JAR is packaged with the site WAR.

Next: Run the Project

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back