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

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?