source: vlo/trunk/vlo-web-app/pom.xml @ 5991

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

bumped VLO trunk to 3.2-SNAPSHOT

File size: 12.9 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    </dependencies>
178   
179    <build>
180        <resources>
181            <resource>
182                <filtering>true</filtering>
183                <directory>src/main/resources</directory>
184            </resource>
185            <resource>
186                <filtering>false</filtering>
187                <directory>src/main/js</directory>
188            </resource>
189            <resource>
190                <filtering>false</filtering>
191                <directory>src/main/java</directory>
192                <includes>
193                    <include>**</include>
194                </includes>
195                <excludes>
196                    <exclude>**/*.java</exclude>
197                </excludes>
198            </resource>
199        </resources>
200        <testResources>
201            <testResource>
202                <filtering>false</filtering>
203                <directory>src/test/resources</directory>
204            </testResource>
205            <testResource>
206                <filtering>false</filtering>
207                <directory>src/test/java</directory>
208                <includes>
209                    <include>**</include>
210                </includes>
211                <excludes>
212                    <exclude>**/*.java</exclude>
213                </excludes>
214            </testResource>
215        </testResources>
216        <plugins>
217            <plugin>
218                <inherited>true</inherited>
219                <groupId>org.apache.maven.plugins</groupId>
220                <artifactId>maven-compiler-plugin</artifactId>
221                <version>2.5.1</version>
222                <configuration>
223                    <source>1.6</source>
224                    <target>1.6</target>
225                    <encoding>UTF-8</encoding>
226                    <showWarnings>true</showWarnings>
227                    <showDeprecation>true</showDeprecation>
228                </configuration>
229            </plugin>
230            <plugin>
231                <!-- Compiles .less files into .css -->
232                <groupId>org.lesscss</groupId>
233                <artifactId>lesscss-maven-plugin</artifactId>
234                <version>1.3.3</version>
235                <configuration>
236                    <sourceDirectory>${project.basedir}/src/main/less</sourceDirectory>
237                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
238                    <compress>true</compress>
239                    <force>true</force>
240                    <excludes>
241                        <exclude>**/inc/**/*</exclude>
242                    </excludes>
243                </configuration>
244                <executions>
245                    <execution>
246                        <goals>
247                            <goal>compile</goal>
248                        </goals>
249                    </execution>
250                </executions>
251            </plugin>
252            <plugin>
253                <groupId>org.mortbay.jetty</groupId>
254                <artifactId>jetty-maven-plugin</artifactId>
255                <version>${jetty.version}</version>
256                <configuration>
257                    <connectors>
258                        <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
259                            <port>8080</port>
260                            <maxIdleTime>3600000</maxIdleTime>
261                        </connector>
262                        <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
263                            <port>8443</port>
264                            <maxIdleTime>3600000</maxIdleTime>
265                            <keystore>${project.build.directory}/test-classes/keystore</keystore>
266                            <password>wicket</password>
267                            <keyPassword>wicket</keyPassword>
268                        </connector>
269                    </connectors>
270                </configuration>
271            </plugin>
272            <plugin>
273                <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
274                <artifactId>svn-revision-number-maven-plugin</artifactId>
275                <version>1.13</version> <!-- please use the latest version -->
276                <executions>
277                    <execution>
278                        <goals>
279                            <goal>revision</goal>
280                        </goals>
281                    </execution>
282                </executions>
283                <configuration>
284                    <entries>
285                        <entry>
286                            <path>${project.basedir}</path>
287                            <prefix>vlo</prefix>
288                            <depth>infinity</depth>
289                            <reportUnversioned>true</reportUnversioned>
290                            <reportIgnored>false</reportIgnored>
291                            <reportOutOfDate>false</reportOutOfDate>
292                        </entry>
293                    </entries>
294                </configuration>
295            </plugin>
296            <plugin>
297                <groupId>org.codehaus.mojo</groupId>
298                <artifactId>cobertura-maven-plugin</artifactId>
299                <version>2.6</version>
300                <configuration>   
301                    <formats> 
302                        <format>xml</format>
303                    </formats>
304                </configuration>
305                <executions>
306                    <execution>
307                        <phase>site</phase>
308                        <goals>
309                            <goal>cobertura</goal>
310                        </goals>
311                    </execution>
312                </executions>
313            </plugin>
314        </plugins>
315    </build>
316   
317    <profiles>
318        <profile>
319            <id>development</id>
320            <properties>
321                <!-- selects the appender for the log4j root logger -->
322                <log4j.appender>Console</log4j.appender>
323                <vlo.logging.level>DEBUG</vlo.logging.level>
324            </properties>
325        </profile>
326    </profiles>
327   
328    <reporting>
329        <plugins>
330            <plugin>
331                <groupId>org.codehaus.mojo</groupId>
332                <artifactId>cobertura-maven-plugin</artifactId>
333                <version>2.6</version>
334            </plugin>
335        </plugins>
336    </reporting>
337   
338    <repositories>
339        <repository>
340            <id>Apache Nexus</id>
341            <url>https://repository.apache.org/content/repositories/snapshots/</url>
342            <releases>
343                <enabled>false</enabled>
344            </releases>
345            <snapshots>
346                <enabled>true</enabled>
347            </snapshots>
348        </repository>
349    </repositories>
350</project>
Note: See TracBrowser for help on using the repository browser.