source: vlo/branches/vlo-3.2/vlo-web-app/pom.xml @ 6292

Last change on this file since 6292 was 6292, checked in by Twan Goosen, 9 years ago

bumped cs2 dependency to 1.1.7

File size: 13.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
6    <parent>
7        <groupId>eu.clarin.cmdi</groupId>
8        <artifactId>vlo</artifactId>
9        <version>3.2-SNAPSHOT</version>
10    </parent>
11   
12    <modelVersion>4.0.0</modelVersion>
13    <groupId>eu.clarin.cmdi</groupId>
14    <artifactId>vlo-web-app</artifactId>
15    <packaging>war</packaging>
16    <version>3.2-SNAPSHOT</version>
17    <name>VLO Web Application</name>
18    <description></description>
19
20    <properties>
21        <wicket.version>6.19.0</wicket.version>
22        <spring.version>3.2.13.RELEASE</spring.version>
23        <jetty.version>8.1.16.v20140903</jetty.version>
24        <!-- selects the appender for the log4j root logger -->
25        <log4j.appender>File</log4j.appender>
26        <vlo.logging.level>INFO</vlo.logging.level>
27    </properties>
28    <dependencies>
29        <!-- Intra-project dependencies -->
30        <dependency>
31            <groupId>${project.groupId}</groupId>
32            <artifactId>vlo-commons</artifactId>
33            <version>${project.version}</version>
34        </dependency>
35        <!-- Importer only used in web app for testing -->
36        <dependency>
37            <groupId>${project.groupId}</groupId>
38            <artifactId>vlo-importer</artifactId>
39            <version>${project.version}</version>
40            <scope>test</scope>
41        </dependency>
42       
43        <!--  WICKET DEPENDENCIES -->
44        <dependency>
45            <groupId>org.apache.wicket</groupId>
46            <artifactId>wicket-extensions</artifactId>
47            <version>${wicket.version}</version>
48        </dependency>
49        <!-- This gives us dependency injection and other Spring niceness -->
50        <dependency>
51            <groupId>org.apache.wicket</groupId>
52            <artifactId>wicket-spring</artifactId>
53            <version>${wicket.version}</version>
54        </dependency>
55       
56        <!-- SPRING FRAMEWORK -->
57        <dependency>
58            <groupId>org.springframework</groupId>
59            <artifactId>spring-context</artifactId>
60            <version>${spring.version}</version>
61            <exclusions>
62                <!--
63                    We want Spring to use SLF4J instead (using
64                    jcl-over-slf4j, see below)
65                -->
66                <exclusion>
67                    <groupId>commons-logging</groupId> <!-- aka JCL -->
68                    <artifactId>commons-logging</artifactId>
69                </exclusion>
70            </exclusions>
71        </dependency>
72        <dependency>
73            <groupId>org.springframework</groupId>
74            <artifactId>spring-web</artifactId>
75            <version>${spring.version}</version>
76        </dependency>
77        <dependency>
78            <groupId>org.springframework</groupId>
79            <artifactId>spring-test</artifactId>
80            <version>${spring.version}</version>
81            <scope>test</scope>
82        </dependency>
83       
84        <!-- LOGGING DEPENDENCIES - LOG4J -->
85        <dependency>
86            <groupId>org.slf4j</groupId>
87            <artifactId>slf4j-log4j12</artifactId>
88            <version>${slf4j.version}</version>
89        </dependency>
90        <!-- Make Spring log to SLF4J, too (drop-in replacement for JCL) -->
91        <dependency>
92            <groupId>org.slf4j</groupId>
93            <artifactId>jcl-over-slf4j</artifactId>
94            <version>${slf4j.version}</version>
95        </dependency>
96
97        <!--  JETTY DEPENDENCIES FOR TESTING  -->
98        <dependency>
99            <groupId>org.eclipse.jetty.aggregate</groupId>
100            <artifactId>jetty-all-server</artifactId>
101            <version>${jetty.version}</version>
102            <scope>provided</scope>
103        </dependency>
104        <dependency>
105            <groupId>org.apache.solr</groupId>
106            <artifactId>solr-solrj</artifactId>
107            <version>${solr.version}</version>
108            <type>jar</type>
109        </dependency>
110        <!-- SOLR TESTING -->
111        <dependency>
112            <groupId>org.apache.solr</groupId>
113            <artifactId>solr-test-framework</artifactId>
114            <version>${solr.version}</version>
115            <scope>test</scope>
116            <type>jar</type>
117        </dependency>
118        <dependency>
119            <groupId>org.apache.solr</groupId>
120            <artifactId>solr-core</artifactId>
121            <version>${solr.version}</version>
122            <scope>test</scope>
123            <type>jar</type>
124        </dependency>
125        <!-- JMOCK FOR MOCKING -->
126        <dependency>
127            <groupId>org.jmock</groupId>
128            <artifactId>jmock-junit4</artifactId>
129            <version>2.6.0</version>
130            <scope>test</scope>
131            <exclusions>
132                <exclusion>
133                    <artifactId>junit-dep</artifactId>
134                    <groupId>junit</groupId>
135                </exclusion>
136            </exclusions>
137        </dependency>
138        <dependency>
139            <groupId>com.google.guava</groupId>
140            <artifactId>guava</artifactId>
141            <version>18.0</version>
142        </dependency>
143        <dependency>
144            <groupId>net.sf.saxon</groupId>
145            <artifactId>Saxon-HE</artifactId>
146            <version>${saxon.version}</version>
147            <type>jar</type>
148        </dependency>
149        <dependency>
150            <groupId>com.sun.jersey</groupId>
151            <artifactId>jersey-client</artifactId>
152            <version>1.18.3</version>
153        </dependency>
154        <dependency>
155            <groupId>org.apache.commons</groupId>
156            <artifactId>commons-lang3</artifactId>
157            <version>3.3.2</version>
158            <scope>test</scope>
159            <type>jar</type>
160        </dependency>
161        <!-- JavaMelody for application monitoring -->
162        <dependency>
163            <groupId>net.bull.javamelody</groupId>
164            <artifactId>javamelody-core</artifactId>
165            <version>1.55.0</version>
166            <exclusions>
167                <exclusion>
168                    <groupId>org.springframework</groupId>
169                    <artifactId>spring-aop</artifactId>
170                </exclusion>
171                <exclusion>
172                    <groupId>org.springframework</groupId>
173                    <artifactId>spring-context</artifactId>
174                </exclusion>
175            </exclusions>
176        </dependency>
177        <dependency>
178            <groupId>nl.mpi.corpusstructure</groupId>
179            <artifactId>corpus-structure-2-core</artifactId>
180            <version>1.1.7</version>
181        </dependency>
182    </dependencies>
183   
184    <build>
185        <resources>
186            <resource>
187                <filtering>true</filtering>
188                <directory>src/main/resources</directory>
189            </resource>
190            <resource>
191                <filtering>false</filtering>
192                <directory>src/main/js</directory>
193            </resource>
194            <resource>
195                <filtering>false</filtering>
196                <directory>src/main/java</directory>
197                <includes>
198                    <include>**</include>
199                </includes>
200                <excludes>
201                    <exclude>**/*.java</exclude>
202                </excludes>
203            </resource>
204        </resources>
205        <testResources>
206            <testResource>
207                <filtering>false</filtering>
208                <directory>src/test/resources</directory>
209            </testResource>
210            <testResource>
211                <filtering>false</filtering>
212                <directory>src/test/java</directory>
213                <includes>
214                    <include>**</include>
215                </includes>
216                <excludes>
217                    <exclude>**/*.java</exclude>
218                </excludes>
219            </testResource>
220        </testResources>
221        <plugins>
222            <plugin>
223                <inherited>true</inherited>
224                <groupId>org.apache.maven.plugins</groupId>
225                <artifactId>maven-compiler-plugin</artifactId>
226                <version>2.5.1</version>
227                <configuration>
228                    <source>1.7</source>
229                    <target>1.7</target>
230                    <encoding>UTF-8</encoding>
231                    <showWarnings>true</showWarnings>
232                    <showDeprecation>true</showDeprecation>
233                </configuration>
234            </plugin>
235            <plugin>
236                <!-- Compiles .less files into .css -->
237                <groupId>org.lesscss</groupId>
238                <artifactId>lesscss-maven-plugin</artifactId>
239                <version>1.3.3</version>
240                <configuration>
241                    <sourceDirectory>${project.basedir}/src/main/less</sourceDirectory>
242                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
243                    <compress>true</compress>
244                    <force>true</force>
245                    <excludes>
246                        <exclude>**/inc/**/*</exclude>
247                    </excludes>
248                </configuration>
249                <executions>
250                    <execution>
251                        <goals>
252                            <goal>compile</goal>
253                        </goals>
254                    </execution>
255                </executions>
256            </plugin>
257            <plugin>
258                <groupId>org.mortbay.jetty</groupId>
259                <artifactId>jetty-maven-plugin</artifactId>
260                <version>${jetty.version}</version>
261                <configuration>
262                    <connectors>
263                        <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
264                            <port>8080</port>
265                            <maxIdleTime>3600000</maxIdleTime>
266                        </connector>
267                        <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
268                            <port>8443</port>
269                            <maxIdleTime>3600000</maxIdleTime>
270                            <keystore>${project.build.directory}/test-classes/keystore</keystore>
271                            <password>wicket</password>
272                            <keyPassword>wicket</keyPassword>
273                        </connector>
274                    </connectors>
275                </configuration>
276            </plugin>
277            <plugin>
278                <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
279                <artifactId>svn-revision-number-maven-plugin</artifactId>
280                <version>1.13</version> <!-- please use the latest version -->
281                <executions>
282                    <execution>
283                        <goals>
284                            <goal>revision</goal>
285                        </goals>
286                    </execution>
287                </executions>
288                <configuration>
289                    <entries>
290                        <entry>
291                            <path>${project.basedir}</path>
292                            <prefix>vlo</prefix>
293                            <depth>infinity</depth>
294                            <reportUnversioned>true</reportUnversioned>
295                            <reportIgnored>false</reportIgnored>
296                            <reportOutOfDate>false</reportOutOfDate>
297                        </entry>
298                    </entries>
299                </configuration>
300            </plugin>
301            <plugin>
302                <groupId>org.codehaus.mojo</groupId>
303                <artifactId>cobertura-maven-plugin</artifactId>
304                <version>2.6</version>
305                <configuration>   
306                    <formats> 
307                        <format>xml</format>
308                    </formats>
309                </configuration>
310                <executions>
311                    <execution>
312                        <phase>site</phase>
313                        <goals>
314                            <goal>cobertura</goal>
315                        </goals>
316                    </execution>
317                </executions>
318            </plugin>
319        </plugins>
320    </build>
321   
322    <profiles>
323        <profile>
324            <id>development</id>
325            <properties>
326                <!-- selects the appender for the log4j root logger -->
327                <log4j.appender>Console</log4j.appender>
328                <vlo.logging.level>DEBUG</vlo.logging.level>
329            </properties>
330        </profile>
331    </profiles>
332   
333    <reporting>
334        <plugins>
335            <plugin>
336                <groupId>org.codehaus.mojo</groupId>
337                <artifactId>cobertura-maven-plugin</artifactId>
338                <version>2.6</version>
339            </plugin>
340        </plugins>
341    </reporting>
342   
343    <repositories>
344        <repository>
345            <id>Apache Nexus</id>
346            <url>https://repository.apache.org/content/repositories/snapshots/</url>
347            <releases>
348                <enabled>false</enabled>
349            </releases>
350            <snapshots>
351                <enabled>true</enabled>
352            </snapshots>
353        </repository>
354    </repositories>
355</project>
Note: See TracBrowser for help on using the repository browser.