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