6d057d3e98ecadc6c20df09593e7c684f3e41360
[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     <dependency>
83       <groupId>org.slf4j</groupId>
84       <artifactId>${slf4j.binding}</artifactId>
85       <version>${slf4j.version}</version>
86       <scope>runtime</scope>
87     </dependency>
88
89   </dependencies>
90
91   <build>
92     <plugins>
93       <plugin>
94         <groupId>org.mortbay.jetty</groupId>
95         <artifactId>jetty-maven-plugin</artifactId>
96         <version>8.0.1.v20110908</version>
97         <configuration>
98           <connectors>
99             <connector implementation="org.eclipse.jetty.server.nio.BlockingChannelConnector">
100               <host>0.0.0.0</host>
101               <port>8080</port>
102               <acceptors>2</acceptors>
103             </connector>
104           </connectors>
105           <scanIntervalSeconds>0</scanIntervalSeconds>
106           <scanTargetPatterns>
107             <scanTargetPattern>
108               <directory>${project.basedir}/src/main/webapp/WEB-INF</directory>
109               <excludes>
110                 <exclude>**/*.jsp</exclude>
111               </excludes>
112               <includes>
113                 <include>**/*.properties</include>
114                 <include>**/*.xml</include>
115               </includes>
116             </scanTargetPattern>
117           </scanTargetPatterns>
118         </configuration>
119       </plugin>
120       <plugin>
121         <groupId>org.codehaus.mojo</groupId>
122         <artifactId>tomcat-maven-plugin</artifactId>
123         <version>1.1</version>
124         <configuration>
125           <path>/</path>
126           <uriEncoding>UTF-8</uriEncoding>
127         </configuration>
128       </plugin>
129       <plugin>
130         <groupId>org.codehaus.mojo</groupId>
131         <artifactId>aspectj-maven-plugin</artifactId>
132         <configuration>
133           <complianceLevel>1.6</complianceLevel>
134           <aspectLibraries>
135             <aspectLibrary>
136               <groupId>org.springframework</groupId>
137               <artifactId>spring-aspects</artifactId>
138             </aspectLibrary>
139           </aspectLibraries>
140           <weaveDependencies>
141             <weaveDependency>
142               <groupId>${pom.parent.groupId}</groupId>
143               <artifactId>${pom.parent.artifactId}-cachecontrol</artifactId>
144             </weaveDependency>
145           </weaveDependencies>
146         </configuration>
147         <executions>
148           <execution>
149             <goals>
150               <goal>compile</goal>
151             </goals>
152           </execution>
153         </executions>
154       </plugin>
155     </plugins>
156   </build>
157
158 </project>