...
- service/servers - are built using gradle. Running the following command will create a RPM file.
./gradlew clean dist
Note the services/servers built this way, will be packaged with the default configuration properties (<project root>/env/local.properties) which are set as process environment variables.
- modules - OpenMRS modules are built using "maven"
mvn clean install
This will create a <name>.omod file.
...