openmrs-module-initializer
openmrs-module-initializer copied to clipboard
Conditionally loading beans should refer to POM-maintained versions
We need to avoid this kind of thing:
@OpenmrsProfile(openmrsPlatformVersion = "2.2.0")
Because this version is already specified here in a POM file leading to a "double maintenance" problem.
All those POM versions should be made available in the Java code through a mechanism like the one described here: https://stackoverflow.com/a/3697482/321797 Any better idea is welcome.