A maven plugin for the OpenMRS 2.x SDK
- Maven 3.x
For installing sdk, just run:
mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
All commands can be executed by mvn openmrs-sdk:<command>
create-module
- Create OpenMRS module
Options: none (only interactive mode)create-platform-module
- Create OpenMRS platform module
Options: none (only interactive mode)setup-platform
- Setup platform server
Options: serverId, version, dbDriver, dbUri, dbUser, dbPassword, file, addDemoDatasetup
- Setup server with modules
Options: serverId, version, dbDriver, dbUri, dbUser, dbPassword, fileinstall
- Install selected module to server
Options: serverId, groupId, artifactId, versionuninstall
- Uninstall selected module from server
Options: serverId, groupId, artifactIdupgrade
- Upgrade server or platform server to selected version
Options: serverId, versionupgrade-platform
- Upgrade platform server to selected version
Options: serverId, versionreset
- Reset server to default state (and drop db data)
Options: serverId, fulldelete
- Delete server
Options: serverIdrun
- Start server
Options: serverId, jetty.port