Changed the fix for IDGEN-38 to ModuleUtil.compareVersion The version comparison is now done with ModuleUtil.compareVersion as suggested by Mike Seaton ( IDGEN-38?focusedCommentId=215692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-215692">https://issues.openmrs.org/browse/IDGEN-38?focusedCommentId=215692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-215692 ) and not with org.apache.maven.artifact.versioning.DefaultArtifactVersion