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