source: vlo/branches/vlo-3.3-oeaw/vlo-web-app/pom.xml @ 6471

Last change on this file since 6471 was 6471, checked in by davor.ostojic@oeaw.ac.at, 9 years ago

pluginManagment doesnt work

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.3-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.3-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.17.v20150415</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.19</version>
153        </dependency>
154        <dependency>
155            <groupId>org.apache.commons</groupId>
156            <artifactId>commons-lang3</artifactId>
157            <version>3.4</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.56.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       
222        <plugins>
223            <plugin>
224                <inherited>true</inherited>
225                <groupId>org.apache.maven.plugins</groupId>
226                <artifactId>maven-compiler-plugin</artifactId>
227                <version>2.5.1</version>
228                <configuration>
229                    <source>1.7</source>
230                    <target>1.7</target>
231                    <encoding>UTF-8</encoding>
232                    <showWarnings>true</showWarnings>
233                    <showDeprecation>true</showDeprecation>
234                </configuration>
235            </plugin>
236            <plugin>
237                <!-- Compiles .less files into .css -->
238                <groupId>org.lesscss</groupId>
239                <artifactId>lesscss-maven-plugin</artifactId>
240                <version>1.3.3</version>
241                <configuration>
242                    <sourceDirectory>${project.basedir}/src/main/less</sourceDirectory>
243                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
244                    <compress>true</compress>
245                    <force>true</force>
246                    <excludes>
247                        <exclude>**/inc/**/*</exclude>
248                    </excludes>
249                </configuration>
250                <executions>
251                    <execution>
252                        <goals>
253                            <goal>compile</goal>
254                        </goals>
255                    </execution>
256                </executions>
257            </plugin>
258            <plugin>
259                <groupId>org.mortbay.jetty</groupId>
260                <artifactId>jetty-maven-plugin</artifactId>
261                <version>${jetty.version}</version>
262                <configuration>
263                    <connectors>
264                        <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
265                            <port>8080</port>
266                            <maxIdleTime>3600000</maxIdleTime>
267                        </connector>
268                        <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
269                            <port>8443</port>
270                            <maxIdleTime>3600000</maxIdleTime>
271                            <keystore>${project.build.directory}/test-classes/keystore</keystore>
272                            <password>wicket</password>
273                            <keyPassword>wicket</keyPassword>
274                        </connector>
275                    </connectors>
276                </configuration>
277            </plugin>
278            <plugin>
279                <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
280                <artifactId>svn-revision-number-maven-plugin</artifactId>
281                <version>1.13</version> <!-- please use the latest version -->
282                <executions>
283                    <execution>
284                        <goals>
285                            <goal>revision</goal>
286                        </goals>
287                    </execution>
288                </executions>
289                <configuration>
290                    <entries>
291                        <entry>
292                            <path>${project.basedir}</path>
293                            <prefix>vlo</prefix>
294                            <depth>infinity</depth>
295                            <reportUnversioned>true</reportUnversioned>
296                            <reportIgnored>false</reportIgnored>
297                            <reportOutOfDate>false</reportOutOfDate>
298                        </entry>
299                    </entries>
300                </configuration>
301            </plugin>
302            <plugin>
303                <groupId>org.codehaus.mojo</groupId>
304                <artifactId>cobertura-maven-plugin</artifactId>
305                <version>2.7</version>
306                <configuration>   
307                    <formats> 
308                        <format>xml</format>
309                    </formats>
310                </configuration>
311                <executions>
312                    <execution>
313                        <phase>site</phase>
314                        <goals>
315                            <goal>cobertura</goal>
316                        </goals>
317                    </execution>
318                </executions>
319            </plugin>
320        </plugins>
321    </build>
322   
323    <profiles>
324        <profile>
325            <id>development</id>
326            <properties>
327                <!-- selects the appender for the log4j root logger -->
328                <log4j.appender>Console</log4j.appender>
329                <vlo.logging.level>DEBUG</vlo.logging.level>
330            </properties>
331        </profile>
332    </profiles>
333   
334    <reporting>
335        <plugins>
336            <plugin>
337                <groupId>org.codehaus.mojo</groupId>
338                <artifactId>cobertura-maven-plugin</artifactId>
339                <version>2.7</version>
340            </plugin>
341        </plugins>
342    </reporting>
343   
344    <repositories>
345        <repository>
346            <id>Apache Nexus</id>
347            <url>https://repository.apache.org/content/repositories/snapshots/</url>
348            <releases>
349                <enabled>false</enabled>
350            </releases>
351            <snapshots>
352                <enabled>true</enabled>
353            </snapshots>
354        </repository>
355    </repositories>
356</project>
Note: See TracBrowser for help on using the repository browser.