We use custom Git hooks to test the format of our commit messages to ensure that they meet the required standard. These custom hooks are stored in the folder .custom-hooks
so that they can be maintained on BitBucket.
Use git config core.hooksPath .custom-hooks
to configure Git to use the custom hooks directory instead of the default hooks.
Note: if you're using a GUI Git client, such as GitKraken, you'll need to manually copy the .custom-hooks
files to .git/hooks/
as these clients might not support core.hooksPath
.
This project uses the Maven Cargo plugin to run Essentials, the CMS and site locally in Tomcat. From the project root folder, execute:
mvn clean verify
mvn -P cargo.run
Alternatively, developers might prefer to run a quicker version were UI packages are not built. Please, note that the full run is advised every time the branch is changed or when front end changes are expected.
Unix Based Console
mvn clean verify -P \!fed-build -DskipTests && mvn -P cargo.run
or
mvn clean verify -P !fed-build -DskipTests && mvn -P cargo.run
To define the configuration follow the next steps:
Run the debugger in a different port:
mvn -P cargo.run -Dcargo.debug.address=9000
The database actuator can be activated by adding the variable cliOptions=dbActuator
mvn clean verify -P!fed-build -DskipTests -DcliOptions=dbActuator && mvn -Pcargo.run
This is a bunch of useful URLs for local development
Windows Based Console
mvn clean verify -P !fed-build -DskipTests
mvn -P cargo.run
or
mvn clean verify -P !fed-build -DskipTests &&mvn -P cargo.run
The commands to start and complete the release are the following
ci/start-release.sh
ci/finish-release.sh
You can check more in depth documentation in this page
I get the following error when I try to clone the message: fatal: cannot create directory at '{some big path}': Filename too long
Git has a limit of 260 characters for a filename in Windows when Git is compiled with msys. You can circumvent the issue by executing the following command:
git config --system core.longpaths true
The front-end build doesn't finish or finish with an exception
To be documented
QuickFix: Install NPM and Yarn manually with the versions specified in ui-integration/pom.xml
The Bloomreach Experience Manager Configuration Verifier, brXM CV or just CV in short, is a tool to support projects and developers during the upgrade between major Bloomreach Experience Manager releases, and is available to Bloomreach Experience Manager customers and partners.
Execute the following commands:
mvn -P create-configuration-verifier-config mvn -P cargo.run,verify-configuration