From: Kai Moritz Date: Fri, 23 Dec 2011 17:16:06 +0000 (+0100) Subject: Modul mit Beispiel-Konfigurationen für den Einsatz von juplo-cachecontrol X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=43f91e5c638766c13d2fa452238db7e46ff60177;p=percentcodec Modul mit Beispiel-Konfigurationen für den Einsatz von juplo-cachecontrol --- diff --git a/cachecontrol-examples/pom.xml b/cachecontrol-examples/pom.xml new file mode 100644 index 00000000..b9ff4437 --- /dev/null +++ b/cachecontrol-examples/pom.xml @@ -0,0 +1,152 @@ + + + + 4.0.0 + + + de.halbekunst + juplo + 2.0-SNAPSHOT + + + ${pom.parent.artifactId}-cachecontrol-examples + Juplo - CacheControl - Examples + + + + + ${pom.parent.groupId} + ${pom.parent.artifactId}-cachecontrol + ${pom.parent.version} + + + ${pom.parent.groupId} + ${pom.parent.artifactId}-test + ${pom.parent.version} + + + + + org.springframework + spring-context + ${springframework.version} + runtime + + + + commons-logging + commons-logging + + + + + org.springframework + spring-aspects + ${springframework.version} + + + org.aspectj + aspectjrt + ${aspectj.version} + + + + + + + + + + + + org.mortbay.jetty + jetty-maven-plugin + 8.0.1.v20110908 + + + + 0.0.0.0 + 8080 + 2 + + + 0 + + + ${project.basedir}/src/main/webapp/WEB-INF + + **/*.jsp + + + **/*.properties + **/*.xml + + + + + + + org.codehaus.mojo + tomcat-maven-plugin + 1.1 + + / + UTF-8 + + + + org.codehaus.mojo + aspectj-maven-plugin + + 1.6 + + + org.springframework + spring-aspects + + + + + ${pom.parent.groupId} + ${pom.parent.artifactId}-cachecontrol + + + + + + + compile + + + + + + + + diff --git a/cachecontrol-examples/src/main/resources/config.xml b/cachecontrol-examples/src/main/resources/config.xml new file mode 100644 index 00000000..33382bd8 --- /dev/null +++ b/cachecontrol-examples/src/main/resources/config.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cachecontrol-examples/src/main/webapp/WEB-INF/web.xml b/cachecontrol-examples/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000..21299ff0 --- /dev/null +++ b/cachecontrol-examples/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,36 @@ + + + + + + contextConfigLocation + classpath:/config.xml + + + + org.springframework.web.context.ContextLoaderListener + + + + accelerator + de.halbekunst.juplo.cachecontrol.AcceleratorFilter + + + + accelerator + /* + + + + test-servlet + de.halbekunst.juplo.test.TestServlet + + + + test-servlet + /* + + + diff --git a/pom.xml b/pom.xml index 4c1bc811..4583d129 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,7 @@ test cachecontrol + cachecontrol-examples