Modul mit Beispiel-Konfigurationen überarbeitet. Jetzt: 1 Modul pro Test
[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     <!-- JSP-Stuff... -->
20     <dependency>
21       <groupId>javax.servlet</groupId>
22       <artifactId>jstl</artifactId>
23       <version>${jstl.version}</version>
24       <scope>runtime</scope>
25     </dependency>
26
27     <!-- Logging -->
28     <dependency>
29       <groupId>org.slf4j</groupId>
30       <artifactId>${slf4j.binding}</artifactId>
31       <version>${slf4j.version}</version>
32       <scope>runtime</scope>
33     </dependency>
34
35     <!-- Test -->
36     <dependency>
37       <groupId>${pom.parent.groupId}</groupId>
38       <artifactId>${pom.parent.artifactId}-test</artifactId>
39       <version>${pom.parent.version}</version>
40     </dependency>
41     <dependency>
42       <groupId>org.apache.tomcat</groupId>
43       <artifactId>jasper</artifactId>
44       <version>${jasper.version}</version>
45       <scope>test</scope>
46     </dependency>
47
48   </dependencies>
49
50   <build>
51     <plugins>
52       <plugin>
53         <groupId>org.mortbay.jetty</groupId>
54         <artifactId>jetty-maven-plugin</artifactId>
55         <version>8.0.1.v20110908</version>
56         <configuration>
57           <connectors>
58             <connector implementation="org.eclipse.jetty.server.nio.BlockingChannelConnector">
59               <host>0.0.0.0</host>
60               <port>8080</port>
61               <acceptors>2</acceptors>
62             </connector>
63           </connectors>
64           <scanIntervalSeconds>0</scanIntervalSeconds>
65           <scanTargetPatterns>
66             <scanTargetPattern>
67               <directory>${project.basedir}/src/main/webapp/WEB-INF</directory>
68               <excludes>
69                 <exclude>**/*.jsp</exclude>
70               </excludes>
71               <includes>
72                 <include>**/*.properties</include>
73                 <include>**/*.xml</include>
74               </includes>
75             </scanTargetPattern>
76           </scanTargetPatterns>
77         </configuration>
78       </plugin>
79       <plugin>
80         <groupId>org.codehaus.mojo</groupId>
81         <artifactId>tomcat-maven-plugin</artifactId>
82         <version>1.1</version>
83         <configuration>
84           <path>/</path>
85           <uriEncoding>UTF-8</uriEncoding>
86         </configuration>
87       </plugin>
88     </plugins>
89   </build>
90
91 </project>