1b78cb5e23852bbc8f9972af6c4601500299d99e
[percentcodec] / cachecontrol-example-jsp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <parent>
8     <groupId>de.halbekunst</groupId>
9     <artifactId>juplo</artifactId>
10     <version>2.0-SNAPSHOT</version>
11   </parent>
12
13   <artifactId>${pom.parent.artifactId}-cachecontrol-example-jsp</artifactId>
14   <packaging>war</packaging>
15   <name>Juplo - CacheControl - Examples: JSP-Page</name>
16
17   <dependencies>
18
19     <!-- Juplo -->
20     <dependency>
21       <groupId>${pom.parent.groupId}</groupId>
22       <artifactId>${pom.parent.artifactId}-cachecontrol</artifactId>
23       <version>${pom.parent.version}</version>
24       <scope>runtime</scope>
25     </dependency>
26
27     <!-- JSP-Stuff... -->
28     <dependency>
29       <groupId>javax.servlet</groupId>
30       <artifactId>jstl</artifactId>
31       <version>${jstl.version}</version>
32       <scope>runtime</scope>
33     </dependency>
34
35     <!--  Spring -->
36     <dependency>
37       <groupId>org.springframework</groupId>
38       <artifactId>spring-webmvc</artifactId>
39       <version>${springframework.version}</version>
40       <scope>runtime</scope>
41     </dependency>
42     <dependency>
43       <groupId>org.springframework</groupId>
44       <artifactId>spring-context</artifactId>
45       <version>${springframework.version}</version>
46       <scope>runtime</scope>
47       <exclusions>
48         <!-- Exclude Commons Logging in favor of SLF4j -->
49         <exclusion>
50           <groupId>commons-logging</groupId>
51           <artifactId>commons-logging</artifactId>
52         </exclusion>
53       </exclusions>
54     </dependency>
55     <dependency>
56       <groupId>org.springframework</groupId>
57       <artifactId>spring-aspects</artifactId>
58       <version>${springframework.version}</version>
59       <scope>runtime</scope>
60     </dependency>
61     <dependency>
62       <groupId>org.aspectj</groupId>
63       <artifactId>aspectjrt</artifactId>
64       <version>${aspectj.version}</version>
65       <scope>runtime</scope>
66     </dependency>
67
68     <!-- Logging -->
69     <dependency>
70       <groupId>org.slf4j</groupId>
71       <artifactId>${slf4j.binding}</artifactId>
72       <version>${slf4j.version}</version>
73       <scope>runtime</scope>
74     </dependency>
75
76
77     <!-- Test -->
78     <dependency>
79       <groupId>${pom.parent.groupId}</groupId>
80       <artifactId>${pom.parent.artifactId}-test</artifactId>
81       <version>${pom.parent.version}</version>
82     </dependency>
83     <dependency>
84       <groupId>org.apache.tomcat</groupId>
85       <artifactId>jasper</artifactId>
86       <version>${jasper.version}</version>
87       <scope>test</scope>
88     </dependency>
89
90   </dependencies>
91
92   <build>
93     <plugins>
94       <plugin>
95         <groupId>org.mortbay.jetty</groupId>
96         <artifactId>jetty-maven-plugin</artifactId>
97         <version>8.0.1.v20110908</version>
98         <configuration>
99           <connectors>
100             <connector implementation="org.eclipse.jetty.server.nio.BlockingChannelConnector">
101               <host>0.0.0.0</host>
102               <port>8080</port>
103               <acceptors>2</acceptors>
104             </connector>
105           </connectors>
106           <scanIntervalSeconds>0</scanIntervalSeconds>
107           <scanTargetPatterns>
108             <scanTargetPattern>
109               <directory>${project.basedir}/src/main/webapp/WEB-INF</directory>
110               <excludes>
111                 <exclude>**/*.jsp</exclude>
112               </excludes>
113               <includes>
114                 <include>**/*.properties</include>
115                 <include>**/*.xml</include>
116               </includes>
117             </scanTargetPattern>
118           </scanTargetPatterns>
119         </configuration>
120       </plugin>
121       <plugin>
122         <groupId>org.codehaus.mojo</groupId>
123         <artifactId>tomcat-maven-plugin</artifactId>
124         <version>1.1</version>
125         <configuration>
126           <path>/</path>
127           <uriEncoding>UTF-8</uriEncoding>
128         </configuration>
129       </plugin>
130     </plugins>
131   </build>
132
133 </project>