I'm maintaining a legacy server built on Tomee. Tomee releases lag behind the tomcat releases by a few months. We need to adhere to strict security policies in my company and even the most recent Tomee versions are raising security flags for having unpatched security problems.
Is there a way to use tomee with all its managed dependencies but to override the tomcat version for deploy?
The deploy environment is via docker, so ideally I would just add a few lines to the dockerfile to pull a newer tomcat and overwrite the one that tomee uses. Is that as easy as it sounds or is there some kind of trick?