diff --git a/software_development/BUILDING.md b/software_development/BUILDING.md index 397a7074c69..0ea9fff8c9a 100644 --- a/software_development/BUILDING.md +++ b/software_development/BUILDING.md @@ -66,7 +66,19 @@ Please refer to the maven documentation for additional options, [Maven: The Comp ## Maven Profiles -Maven profiles are used to enable additional build configuration. +Maven profiles are used to enable additional build configuration or optional modules: + +``` +mvn install -Pdatastorage-s3 +``` + +Some build profiles are activated with specific properties, such as `release` to build release bundles: + +``` +mvn install -Drelease +``` + +The `release` flag above asks `datastorage-s3`, `datastorage-jcloud`, `datastorage-cmis` and the `release` module to produce `zip` bundles for distribution. ## Run Elasticsearch diff --git a/web/pom.xml b/web/pom.xml index 35a182c832b..efe8c160dd6 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -1331,6 +1331,39 @@ + + datastorage-cmis + + + org.geonetwork-opensource.datastorage + gn-datastorage-cmis + ${project.version} + + + + + + datastorage-jcloud + + + org.geonetwork-opensource.datastorage + gn-datastorage-jcloud + ${project.version} + + + + + + datastorage-s3 + + + org.geonetwork-opensource.datastorage + gn-datastorage-s3 + ${project.version} + + + + war