.maven-licence-bom: image: $MAVEN_IMAGE stage: build before_script: - > if [ "$BACKEND_DIR" != "" ]; then cd $BACKEND_DIR fi script: - mvn cyclonedx:makeBom artifacts: when: always paths: - "$BACKEND_DIR/target/bom.json"