@raff @ruhanga @k.joseph Hello all, i am creating a platform module to regenerate the error as at Error Testing Module Created Using OpenMRS SDK but am getting a build failure when i run mvn openmrs-sdk:deploy after setting up the server
Please first try:
mvn clean install
@raff i get the build success after running mvn clean install and when i run
mvn clean install openmrs-sdk:run -DserverId=your_server_id i get this
Paste the full log into pastebin instead of attaching a screenshot. Did you setup a server prior to that?
Sometimes it can be messy resolving an error that’s resulted from running a stream of commands at once. Can you try breaking your use case into manage-able chunks? Like @raff mentioned, you may want to achieve this step-wise.
Create a server (platform/referenceapplication) instance and load a user interface in the case of platform.
Create the module
Deploy the module
The issue I think you are trying to resolve, is realized at the second bullet. The order of the first two doesn’t matter though.