From 43f91e5c638766c13d2fa452238db7e46ff60177 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 23 Dec 2011 18:16:06 +0100 Subject: [PATCH] =?utf8?q?Modul=20mit=20Beispiel-Konfigurationen=20f=C3=BC?= =?utf8?q?r=20den=20Einsatz=20von=20juplo-cachecontrol?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- cachecontrol-examples/pom.xml | 152 ++++++++++++++++++ .../src/main/resources/config.xml | 34 ++++ .../src/main/webapp/WEB-INF/web.xml | 36 +++++ pom.xml | 1 + 4 files changed, 223 insertions(+) create mode 100644 cachecontrol-examples/pom.xml create mode 100644 cachecontrol-examples/src/main/resources/config.xml create mode 100644 cachecontrol-examples/src/main/webapp/WEB-INF/web.xml 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 -- 2.20.1