diff --git a/cdkdepict-webapp/src/main/webapp/WEB-INF/web-jakarta.xml b/cdkdepict-webapp/src/main/webapp/WEB-INF/web-jakarta.xml new file mode 100644 index 0000000..f03ddf4 --- /dev/null +++ b/cdkdepict-webapp/src/main/webapp/WEB-INF/web-jakarta.xml @@ -0,0 +1,42 @@ + + + + cdkdepict + org.springframework.web.servlet.DispatcherServlet + + 1 + + + cdkdepict + / + + + ExpiresFilter + org.apache.catalina.filters.ExpiresFilter + + ExpiresByType image + access plus 10 days + + + ExpiresByType text/css + access plus 10 days + + + ExpiresByType image/svg+xml + access plus 10 days + + + ExpiresByType application/javascript + access plus 10 days + + + + ExpiresFilter + /* + REQUEST + + \ No newline at end of file diff --git a/cdkdepict-webapp/src/main/webapp/WEB-INF/web.xml b/cdkdepict-webapp/src/main/webapp/WEB-INF/web.xml index 7482c1e..822f14d 100644 --- a/cdkdepict-webapp/src/main/webapp/WEB-INF/web.xml +++ b/cdkdepict-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,4 +1,8 @@ - + + cdkdepict org.springframework.web.servlet.DispatcherServlet diff --git a/pom.xml b/pom.xml index e08a9ec..cbf78d3 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,13 @@ + + org.apache.maven.plugins + maven-war-plugin + + src/main/webapp/WEB-INF/web-jakarta.xml + + org.apache.maven.plugins maven-compiler-plugin