Build failure while deploying module

@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 Capturee

1 Like

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 Capture4

Paste the full log into pastebin instead of attaching a screenshot. Did you setup a server prior to that?

@raff am sorry for responding late ,kindly review here

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. mvn openmrs-sdk:setup

  • Create the module mvn openmrs-sdk:create-project

  • Deploy the module mvn openmrs-sdk:deploy

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.

1 Like

Thanks @ruhanga :+1: