Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0
-
None
Description
If there is a WAR dependency, it is extracted to target/apache-tomcat-maven-plugin/ARTIFACT_NAME. This directory is deleted and re-created every invocation of the plugin, meaning that all WAR dependencies are re-extracted every run.
Do not delete these extracted directories. Instead check the last modified timestamp of the directory against the last modified timestamp of the WAR dependency, and re-extract only if the WAR is newer