[SOLVED] Displayed OpenMRS Version on Legacy UI

I am trying to help out with some tickets on OpenMRS core. I am running the application using mvn jetty:run on the master branch which happen to have the project version set to 2.4.0-SNAPSHOT as of this writing. Surprisingly the legacy UI displays Last Build: 2019-10-31 03:07 Version: 2.0.0 Build 889ccc. I was expecting something like Last Build: 2019-10-31 03:07 Version: 2.4.0-SNAPSHOT Build 889ccc instead. How is the version number being populated?

Side note: I am trying to run a module that requires version 2.0.6 or later it fails because apparently the system thinks it is running 2.0.0!

UPDATE It turns out I forgot to run mvn clean install when I checked out the master branch.

Thanks @dkayiwa

Are you sure that you are not running this tag? https://github.com/openmrs/openmrs-core/tree/2.0.0

No Sir, I am not running that tag. I am running this commit --> https://github.com/openmrs/openmrs-core/commit/4874e66b67e7401c0eb236dc083fda14c3904648

Did you do mvn clean install before running? If yes, can you share your server side logs when the application is running?

Thanks, I feel so stupid right now. You are right I didn’t clean.

Do not worry. It once in a while happens to all of us. :slight_smile:

1 Like

:man_facepalming: