Modul mit Beispiel-Konfigurationen für den Einsatz von juplo-cachecontrol
[percentcodec] / cachecontrol-examples / 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-examples</artifactId>
14   <name>Juplo - CacheControl - Examples</name>
15
16   <dependencies>
17
18     <dependency>
19       <groupId>${pom.parent.groupId}</groupId>
20       <artifactId>${pom.parent.artifactId}-cachecontrol</artifactId>
21       <version>${pom.parent.version}</version>
22     </dependency>
23     <dependency>
24       <groupId>${pom.parent.groupId}</groupId>
25       <artifactId>${pom.parent.artifactId}-test</artifactId>
26       <version>${pom.parent.version}</version>
27     </dependency>
28
29     <!--  Spring -->
30     <dependency>
31       <groupId>org.springframework</groupId>
32       <artifactId>spring-context</artifactId>
33       <version>${springframework.version}</version>
34       <scope>runtime</scope>
35       <exclusions>
36         <!-- Exclude Commons Logging in favor of SLF4j -->
37         <exclusion>
38           <groupId>commons-logging</groupId>
39           <artifactId>commons-logging</artifactId>
40         </exclusion>
41       </exclusions>
42     </dependency>
43     <dependency>
44       <groupId>org.springframework</groupId>
45       <artifactId>spring-aspects</artifactId>
46       <version>${springframework.version}</version>
47     </dependency>
48     <dependency>
49       <groupId>org.aspectj</groupId>
50       <artifactId>aspectjrt</artifactId>
51       <version>${aspectj.version}</version>
52     </dependency>
53
54     <!-- Servlet
55     <dependency>
56       <groupId>javax.servlet</groupId>
57       <artifactId>servlet-api</artifactId>
58       <version>${servlet-api.version}</version>
59       <scope>provided</scope>
60     </dependency>
61     <dependency>
62       <groupId>javax.servlet.jsp</groupId>
63       <artifactId>jsp-api</artifactId>
64       <version>${jsp-api.version}</version>
65       <scope>provided</scope>
66     </dependency>
67     <dependency>
68       <groupId>javax.servlet</groupId>
69       <artifactId>jstl</artifactId>
70       <version>${jstl.version}</version>
71     </dependency>
72     -->
73
74     <!-- Other stuff
75     <dependency>
76       <groupId>org.aspectj</groupId>
77       <artifactId>aspectjweaver</artifactId>
78       <version>${aspectj.version}</version>
79       <scope>runtime</scope>
80     </dependency>
81     -->
82
83   </dependencies>
84
85   <build>
86     <plugins>
87       <plugin>
88         <groupId>org.mortbay.jetty</groupId>
89         <artifactId>jetty-maven-plugin</artifactId>
90         <version>8.0.1.v20110908</version>
91         <configuration>
92           <connectors>
93             <connector implementation="org.eclipse.jetty.server.nio.BlockingChannelConnector">
94               <host>0.0.0.0</host>
95               <port>8080</port>
96               <acceptors>2</acceptors>
97             </connector>
98           </connectors>
99           <scanIntervalSeconds>0</scanIntervalSeconds>
100           <scanTargetPatterns>
101             <scanTargetPattern>
102               <directory>${project.basedir}/src/main/webapp/WEB-INF</directory>
103               <excludes>
104                 <exclude>**/*.jsp</exclude>
105               </excludes>
106               <includes>
107                 <include>**/*.properties</include>
108                 <include>**/*.xml</include>
109               </includes>
110             </scanTargetPattern>
111           </scanTargetPatterns>
112         </configuration>
113       </plugin>
114       <plugin>
115         <groupId>org.codehaus.mojo</groupId>
116         <artifactId>tomcat-maven-plugin</artifactId>
117         <version>1.1</version>
118         <configuration>
119           <path>/</path>
120           <uriEncoding>UTF-8</uriEncoding>
121         </configuration>
122       </plugin>
123       <plugin>
124         <groupId>org.codehaus.mojo</groupId>
125         <artifactId>aspectj-maven-plugin</artifactId>
126         <configuration>
127           <complianceLevel>1.6</complianceLevel>
128           <aspectLibraries>
129             <aspectLibrary>
130               <groupId>org.springframework</groupId>
131               <artifactId>spring-aspects</artifactId>
132             </aspectLibrary>
133           </aspectLibraries>
134           <weaveDependencies>
135             <weaveDependency>
136               <groupId>${pom.parent.groupId}</groupId>
137               <artifactId>${pom.parent.artifactId}-cachecontrol</artifactId>
138             </weaveDependency>
139           </weaveDependencies>
140         </configuration>
141         <executions>
142           <execution>
143             <goals>
144               <goal>compile</goal>
145             </goals>
146           </execution>
147         </executions>
148       </plugin>
149     </plugins>
150   </build>
151
152 </project>