Umstellung auf Thymeleaf: Schritt 2 - Tilesunterstützung aktiviert
[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
130     <!-- Servlet -->
131     <dependency>
132       <groupId>javax.servlet</groupId>
133       <artifactId>javax.servlet-api</artifactId>
134       <version>${servlet-api.version}</version>
135       <scope>provided</scope>
136     </dependency>
137     <dependency>
138       <groupId>javax.servlet.jsp</groupId>
139       <artifactId>javax.servlet.jsp-api</artifactId>
140       <version>${jsp-api.version}</version>
141       <scope>provided</scope>
142     </dependency>
143     <dependency>
144       <groupId>javax.servlet</groupId>
145       <artifactId>jstl</artifactId>
146       <version>${jstl.version}</version>
147       <scope>runtime</scope>
148     </dependency>
149
150     <!-- Logging -->
151     <dependency>
152       <groupId>org.slf4j</groupId>
153       <artifactId>slf4j-api</artifactId>
154       <version>${slf4j.version}</version>
155     </dependency>
156     <dependency>
157       <groupId>org.slf4j</groupId>
158       <artifactId>slf4j-log4j12</artifactId>
159       <version>${slf4j.version}</version>
160       <scope>runtime</scope>
161     </dependency>
162     <dependency>
163       <groupId>org.slf4j</groupId>
164       <artifactId>jcl-over-slf4j</artifactId>
165       <version>${slf4j.version}</version>
166       <scope>runtime</scope>
167     </dependency>
168
169   </dependencies>
170
171
172   <distributionManagement>
173     <repository>
174       <id>juplo.internal</id>
175       <name>Internal Release Repository</name>
176       <url>http://juplo.de/archiva/repository/internal/</url>
177     </repository>
178     <snapshotRepository>
179       <id>juplo.snapshots</id>
180       <name>Internal Snapshot Repository</name>
181       <url>http://juplo.de/archiva/repository/snapshots/</url>
182     </snapshotRepository>
183   </distributionManagement>
184
185
186   <build>
187     <finalName>branding</finalName>
188     <plugins>
189       <plugin>
190         <groupId>org.apache.maven.plugins</groupId>
191         <artifactId>maven-compiler-plugin</artifactId>
192         <configuration>
193           <source>1.6</source>
194           <target>1.6</target>
195           <encoding>utf8</encoding>
196           <showWarnings>true</showWarnings>
197         </configuration>
198       </plugin>
199       <plugin>
200         <groupId>ro.isdc.wro4j</groupId>
201         <artifactId>wro4j-maven-plugin</artifactId>
202         <version>${wro4j.version}</version>
203         <configuration>
204           <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
205           <cssDestinationFolder>${project.build.directory}/${project.build.finalName}/css/</cssDestinationFolder>
206           <jsDestinationFolder>${project.build.directory}/${project.build.finalName}/js/</jsDestinationFolder>
207         </configuration>
208         <executions>
209           <execution>
210             <phase>prepare-package</phase>
211             <goals>
212               <goal>run</goal>
213             </goals>
214           </execution>
215         </executions>
216       </plugin>
217       <plugin>
218         <artifactId>maven-war-plugin</artifactId>
219         <configuration>
220           <warSourceExcludes>
221             WEB-INF/wro.*,
222             js/**,
223             less/**
224           </warSourceExcludes>
225         </configuration>
226       </plugin>
227       <plugin>
228         <groupId>org.apache.maven.plugins</groupId>
229         <artifactId>maven-source-plugin</artifactId>
230         <executions>
231           <execution>
232             <id>attach-sources</id>
233             <phase>verify</phase>
234             <goals>
235               <goal>jar</goal>
236             </goals>
237           </execution>
238         </executions>
239       </plugin>
240       <plugin>
241         <groupId>org.eclipse.jetty</groupId>
242         <artifactId>jetty-maven-plugin</artifactId>
243         <configuration>
244           <webApp>
245             <overrideDescriptor>${project.basedir}/src/test/resources/jetty-web.xml</overrideDescriptor>
246           </webApp>
247         </configuration>
248         <dependencies>
249           <dependency>
250             <groupId>ro.isdc.wro4j</groupId>
251             <artifactId>wro4j-core</artifactId>
252             <version>${wro4j.version}</version>
253           </dependency>
254           <dependency>
255             <groupId>ro.isdc.wro4j</groupId>
256             <artifactId>wro4j-extensions</artifactId>
257             <version>${wro4j.version}</version>
258             <exclusions>
259               <exclusion>
260                 <groupId>javax.servlet</groupId>
261                 <artifactId>servlet-api</artifactId>
262               </exclusion>
263               <exclusion>
264                 <groupId>org.apache.commons</groupId>
265                 <artifactId>commons-lang3</artifactId>
266               </exclusion>
267               <exclusion>
268                 <groupId>commons-io</groupId>
269                 <artifactId>commons-io</artifactId>
270               </exclusion>
271               <exclusion>
272                 <groupId>org.springframework</groupId>
273                 <artifactId>spring-web</artifactId>
274               </exclusion>
275               <exclusion>
276                 <groupId>com.google.code.gson</groupId>
277                 <artifactId>gson</artifactId>
278               </exclusion>
279               <exclusion>
280                 <groupId>com.google.javascript</groupId>
281                 <artifactId>closure-compiler</artifactId>
282               </exclusion>
283               <exclusion>
284                 <groupId>com.github.lltyk</groupId>
285                 <artifactId>dojo-shrinksafe</artifactId>
286               </exclusion>
287               <exclusion>
288                 <groupId>org.jruby</groupId>
289                 <artifactId>jruby-core</artifactId>
290               </exclusion>
291               <exclusion>
292                 <groupId>org.jruby</groupId>
293                 <artifactId>jruby-stdlib</artifactId>
294               </exclusion>
295               <exclusion>
296                 <groupId>me.n4u.sass</groupId>
297                 <artifactId>sass-gems</artifactId>
298               </exclusion>
299               <exclusion>
300                 <groupId>nz.co.edmi</groupId>
301                 <artifactId>bourbon-gem-jar</artifactId>
302               </exclusion>
303               <exclusion>
304                 <groupId>org.codehaus.gmaven.runtime</groupId>
305                 <artifactId>gmaven-runtime-1.7</artifactId>
306               </exclusion>
307               <exclusion>
308                 <groupId>org.webjars</groupId>
309                 <artifactId>jshint</artifactId>
310               </exclusion>
311               <exclusion>
312                 <groupId>org.webjars</groupId>
313                 <artifactId>emberjs</artifactId>
314               </exclusion>
315               <exclusion>
316                 <groupId>org.webjars</groupId>
317                 <artifactId>handlebars</artifactId>
318               </exclusion>
319               <exclusion>
320                 <groupId>org.webjars</groupId>
321                 <artifactId>coffee-script</artifactId>
322               </exclusion>
323               <exclusion>
324                 <groupId>org.webjars</groupId>
325                 <artifactId>jslint</artifactId>
326               </exclusion>
327               <exclusion>
328                 <groupId>org.webjars</groupId>
329                 <artifactId>json2</artifactId>
330               </exclusion>
331               <exclusion>
332                 <groupId>org.webjars</groupId>
333                 <artifactId>jquery</artifactId>
334               </exclusion>
335             </exclusions>
336           </dependency>
337         </dependencies>
338       </plugin>
339       <plugin>
340         <groupId>org.codehaus.mojo</groupId>
341         <artifactId>tomcat-maven-plugin</artifactId>
342         <version>1.1</version>
343         <configuration>
344           <path>/</path>
345           <uriEncoding>UTF-8</uriEncoding>
346         </configuration>
347       </plugin>
348       <plugin>
349         <groupId>com.google.appengine</groupId>
350         <artifactId>appengine-maven-plugin</artifactId>
351         <version>1.8.2</version>
352       </plugin>
353     </plugins>
354   </build>
355
356
357   <reporting>
358     <plugins>
359       <plugin>
360         <artifactId>maven-changes-plugin</artifactId>
361       </plugin>
362       <plugin>
363         <artifactId>maven-javadoc-plugin</artifactId>
364       </plugin>
365       <plugin>
366         <artifactId>maven-jxr-plugin</artifactId>
367       </plugin>
368       <plugin>
369         <artifactId>maven-surefire-report-plugin</artifactId>
370       </plugin>
371       <plugin>
372         <artifactId>maven-scm-plugin</artifactId>
373         <configuration>
374           <goals>install</goals>
375         </configuration>
376       </plugin>
377     </plugins>
378   </reporting>
379
380 </project>