Play 2.6 deprecation cleanup
This MR drops as many as possible of the deprecated API usages. It mainly targeted to get rid from the stuff that was deprecated in Play Framework 2.6 however some other changes were done.
- cleaned up dependencies to reduce build time and build artifact
- Marked some of the methods that are using EasyCriteria as deprecated. This library seems to be deprecated by authors
- Marked static methods of
ch.insign.commons.util.Configuration
as deprecated - Marked
ch.insign.cms.validator.FormValidator
as deprecated. Play provides proper API to create injectable constrains - Marked
ch.insign.cms.models.Template
as deprecated. It is now a wrapper to theCMSTemplateApi
class which is injectable version ofTemplate
- Decouple CMSApi and EmailService to resolve cyclical dependency occurred while removing static method calls.
- Cleaned some of the static play-cms APIs usage in cms internals.
For updated demo project see demo!104 (merged)