As Darius suggested here , building https://github.com/openmrs/openmrs-module-appui module solved the problem.