Umstellung auf Thymeleaf: Zwischenschritt - Fehler in Thymeleaf umschifft
[website] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4   <modelVersion>4.0.0</modelVersion>
5
6
7   <groupId>de.juplo</groupId>
8   <artifactId>branding</artifactId>
9   <name>Juplo - branding</name>
10   <version>1.0-SNAPSHOT</version>
11   <packaging>war</packaging>
12   <url>http://www.juplo.de/branding</url>
13
14
15   <prerequisites>
16     <maven>2.0.6</maven>
17   </prerequisites>
18
19
20   <scm>
21     <connection>scm:git:http://juplo.de/git/branding</connection>
22     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/branding</developerConnection>
23     <url>http://juplo.de/gitweb/?p=branding;a=summary</url>
24   </scm>
25
26
27   <developers>
28     <developer>
29       <id>kai</id>
30       <name>Kai Moritz</name>
31       <email>kai@juplo.de</email>
32     </developer>
33   </developers>
34
35
36   <properties>
37
38     <!-- Zeichensatz -->
39     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40
41     <!-- Verwendete Versionen -->
42     <jsp-api.version>2.2.1</jsp-api.version>
43     <jstl.version>1.2</jstl.version>
44     <servlet-api.version>3.0.1</servlet-api.version>
45     <slf4j.version>1.6.1</slf4j.version>
46     <springframework.version>4.0.6.RELEASE</springframework.version>
47     <thymeleaf.version>2.1.3.RELEASE</thymeleaf.version>
48     <thymeleaf-extras.version>2.1.1.RELEASE</thymeleaf-extras.version>
49     <tiles.version>2.2.2</tiles.version>
50     <wro4j.version>1.7.3-SNAPSHOT</wro4j.version>
51
52   </properties>
53
54
55   <dependencies>
56
57     <!-- Spring -->
58     <dependency>
59       <groupId>org.springframework</groupId>
60       <artifactId>spring-webmvc</artifactId>
61       <version>${springframework.version}</version>
62       <exclusions>
63         <exclusion>
64             <groupId>commons-logging</groupId>
65             <artifactId>commons-logging</artifactId>
66         </exclusion>
67       </exclusions>
68     </dependency>
69
70     <!-- Thymeleaf -->
71     <dependency>
72       <groupId>org.thymeleaf</groupId>
73       <artifactId>thymeleaf</artifactId>
74       <version>${thymeleaf.version}</version>
75       <scope>runtime</scope>
76     </dependency>
77     <dependency>
78       <groupId>org.thymeleaf</groupId>
79       <artifactId>thymeleaf-spring4</artifactId>
80       <version>${thymeleaf.version}</version>
81       <scope>runtime</scope>
82     </dependency>
83     <dependency>
84       <groupId>org.thymeleaf.extras</groupId>
85       <artifactId>thymeleaf-extras-tiles2</artifactId>
86       <version>${thymeleaf-extras.version}</version>
87       <exclusions>
88         <exclusion>
89           <groupId>org.thymeleaf</groupId>
90           <artifactId>thymeleaf</artifactId>
91         </exclusion>
92         <exclusion>
93           <groupId>org.thymeleaf</groupId>
94           <artifactId>thymeleaf-spring4</artifactId>
95         </exclusion>
96       </exclusions>
97       <scope>runtime</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.thymeleaf.extras</groupId>
101       <artifactId>thymeleaf-extras-tiles2-spring4</artifactId>
102       <version>${thymeleaf-extras.version}</version>
103       <exclusions>
104         <exclusion>
105           <groupId>org.thymeleaf</groupId>
106           <artifactId>thymeleaf</artifactId>
107         </exclusion>
108         <exclusion>
109           <groupId>org.thymeleaf</groupId>
110           <artifactId>thymeleaf-spring4</artifactId>
111         </exclusion>
112       </exclusions>
113       <scope>runtime</scope>
114     </dependency>
115
116     <!-- Tiles -->
117     <dependency>
118       <groupId>org.apache.tiles</groupId>
119       <artifactId>tiles-core</artifactId>
120       <version>${tiles.version}</version>
121       <exclusions>
122         <exclusion>
123           <groupId>org.slf4j</groupId>
124           <artifactId>jcl-over-slf4j</artifactId>
125         </exclusion>
126       </exclusions>
127       <scope>runtime</scope>
128     </dependency>
129     <dependency>
130       <groupId>org.apache.tiles</groupId>
131       <artifactId>tiles-servlet</artifactId>
132       <version>${tiles.version}</version>
133     </dependency>
134
135     <!-- Servlet -->
136     <dependency>
137       <groupId>javax.servlet</groupId>
138       <artifactId>javax.servlet-api</artifactId>
139       <version>${servlet-api.version}</version>
140       <scope>provided</scope>
141     </dependency>
142     <dependency>
143       <groupId>javax.servlet.jsp</groupId>
144       <artifactId>javax.servlet.jsp-api</artifactId>
145       <version>${jsp-api.version}</version>
146       <scope>provided</scope>
147     </dependency>
148     <dependency>
149       <groupId>javax.servlet</groupId>
150       <artifactId>jstl</artifactId>
151       <version>${jstl.version}</version>
152       <scope>runtime</scope>
153     </dependency>
154
155     <!-- Logging -->
156     <dependency>
157       <groupId>org.slf4j</groupId>
158       <artifactId>slf4j-api</artifactId>
159       <version>${slf4j.version}</version>
160     </dependency>
161     <dependency>
162       <groupId>org.slf4j</groupId>
163       <artifactId>slf4j-log4j12</artifactId>
164       <version>${slf4j.version}</version>
165       <scope>runtime</scope>
166     </dependency>
167     <dependency>
168       <groupId>org.slf4j</groupId>
169       <artifactId>jcl-over-slf4j</artifactId>
170       <version>${slf4j.version}</version>
171       <scope>runtime</scope>
172     </dependency>
173
174   </dependencies>
175
176
177   <distributionManagement>
178     <repository>
179       <id>juplo.internal</id>
180       <name>Internal Release Repository</name>
181       <url>http://juplo.de/archiva/repository/internal/</url>
182     </repository>
183     <snapshotRepository>
184       <id>juplo.snapshots</id>
185       <name>Internal Snapshot Repository</name>
186       <url>http://juplo.de/archiva/repository/snapshots/</url>
187     </snapshotRepository>
188   </distributionManagement>
189
190
191   <build>
192     <finalName>branding</finalName>
193     <plugins>
194       <plugin>
195         <groupId>org.apache.maven.plugins</groupId>
196         <artifactId>maven-compiler-plugin</artifactId>
197         <configuration>
198           <source>1.6</source>
199           <target>1.6</target>
200           <encoding>utf8</encoding>
201           <showWarnings>true</showWarnings>
202         </configuration>
203       </plugin>
204       <plugin>
205         <groupId>ro.isdc.wro4j</groupId>
206         <artifactId>wro4j-maven-plugin</artifactId>
207         <version>${wro4j.version}</version>
208         <configuration>
209           <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
210           <cssDestinationFolder>${project.build.directory}/${project.build.finalName}/css/</cssDestinationFolder>
211           <jsDestinationFolder>${project.build.directory}/${project.build.finalName}/js/</jsDestinationFolder>
212         </configuration>
213         <executions>
214           <execution>
215             <phase>prepare-package</phase>
216             <goals>
217               <goal>run</goal>
218             </goals>
219           </execution>
220         </executions>
221       </plugin>
222       <plugin>
223         <artifactId>maven-war-plugin</artifactId>
224         <configuration>
225           <warSourceExcludes>
226             WEB-INF/wro.*,
227             js/**,
228             less/**
229           </warSourceExcludes>
230         </configuration>
231       </plugin>
232       <plugin>
233         <groupId>org.apache.maven.plugins</groupId>
234         <artifactId>maven-source-plugin</artifactId>
235         <executions>
236           <execution>
237             <id>attach-sources</id>
238             <phase>verify</phase>
239             <goals>
240               <goal>jar</goal>
241             </goals>
242           </execution>
243         </executions>
244       </plugin>
245       <plugin>
246         <groupId>org.eclipse.jetty</groupId>
247         <artifactId>jetty-maven-plugin</artifactId>
248         <configuration>
249           <webApp>
250             <overrideDescriptor>${project.basedir}/src/test/resources/jetty-web.xml</overrideDescriptor>
251           </webApp>
252         </configuration>
253         <dependencies>
254           <dependency>
255             <groupId>ro.isdc.wro4j</groupId>
256             <artifactId>wro4j-core</artifactId>
257             <version>${wro4j.version}</version>
258           </dependency>
259           <dependency>
260             <groupId>ro.isdc.wro4j</groupId>
261             <artifactId>wro4j-extensions</artifactId>
262             <version>${wro4j.version}</version>
263             <exclusions>
264               <exclusion>
265                 <groupId>javax.servlet</groupId>
266                 <artifactId>servlet-api</artifactId>
267               </exclusion>
268               <exclusion>
269                 <groupId>org.apache.commons</groupId>
270                 <artifactId>commons-lang3</artifactId>
271               </exclusion>
272               <exclusion>
273                 <groupId>commons-io</groupId>
274                 <artifactId>commons-io</artifactId>
275               </exclusion>
276               <exclusion>
277                 <groupId>org.springframework</groupId>
278                 <artifactId>spring-web</artifactId>
279               </exclusion>
280               <exclusion>
281                 <groupId>com.google.code.gson</groupId>
282                 <artifactId>gson</artifactId>
283               </exclusion>
284               <exclusion>
285                 <groupId>com.google.javascript</groupId>
286                 <artifactId>closure-compiler</artifactId>
287               </exclusion>
288               <exclusion>
289                 <groupId>com.github.lltyk</groupId>
290                 <artifactId>dojo-shrinksafe</artifactId>
291               </exclusion>
292               <exclusion>
293                 <groupId>org.jruby</groupId>
294                 <artifactId>jruby-core</artifactId>
295               </exclusion>
296               <exclusion>
297                 <groupId>org.jruby</groupId>
298                 <artifactId>jruby-stdlib</artifactId>
299               </exclusion>
300               <exclusion>
301                 <groupId>me.n4u.sass</groupId>
302                 <artifactId>sass-gems</artifactId>
303               </exclusion>
304               <exclusion>
305                 <groupId>nz.co.edmi</groupId>
306                 <artifactId>bourbon-gem-jar</artifactId>
307               </exclusion>
308               <exclusion>
309                 <groupId>org.codehaus.gmaven.runtime</groupId>
310                 <artifactId>gmaven-runtime-1.7</artifactId>
311               </exclusion>
312               <exclusion>
313                 <groupId>org.webjars</groupId>
314                 <artifactId>jshint</artifactId>
315               </exclusion>
316               <exclusion>
317                 <groupId>org.webjars</groupId>
318                 <artifactId>emberjs</artifactId>
319               </exclusion>
320               <exclusion>
321                 <groupId>org.webjars</groupId>
322                 <artifactId>handlebars</artifactId>
323               </exclusion>
324               <exclusion>
325                 <groupId>org.webjars</groupId>
326                 <artifactId>coffee-script</artifactId>
327               </exclusion>
328               <exclusion>
329                 <groupId>org.webjars</groupId>
330                 <artifactId>jslint</artifactId>
331               </exclusion>
332               <exclusion>
333                 <groupId>org.webjars</groupId>
334                 <artifactId>json2</artifactId>
335               </exclusion>
336               <exclusion>
337                 <groupId>org.webjars</groupId>
338                 <artifactId>jquery</artifactId>
339               </exclusion>
340             </exclusions>
341           </dependency>
342         </dependencies>
343       </plugin>
344       <plugin>
345         <groupId>org.codehaus.mojo</groupId>
346         <artifactId>tomcat-maven-plugin</artifactId>
347         <version>1.1</version>
348         <configuration>
349           <path>/</path>
350           <uriEncoding>UTF-8</uriEncoding>
351         </configuration>
352       </plugin>
353       <plugin>
354         <groupId>com.google.appengine</groupId>
355         <artifactId>appengine-maven-plugin</artifactId>
356         <version>1.8.2</version>
357       </plugin>
358     </plugins>
359   </build>
360
361
362   <reporting>
363     <plugins>
364       <plugin>
365         <artifactId>maven-changes-plugin</artifactId>
366       </plugin>
367       <plugin>
368         <artifactId>maven-javadoc-plugin</artifactId>
369       </plugin>
370       <plugin>
371         <artifactId>maven-jxr-plugin</artifactId>
372       </plugin>
373       <plugin>
374         <artifactId>maven-surefire-report-plugin</artifactId>
375       </plugin>
376       <plugin>
377         <artifactId>maven-scm-plugin</artifactId>
378         <configuration>
379           <goals>install</goals>
380         </configuration>
381       </plugin>
382     </plugins>
383   </reporting>
384
385 </project>