source: vlo/branches/vlo-3.0/vlo-web-app/pom.xml @ 4504

Last change on this file since 4504 was 4504, checked in by twagoo, 10 years ago

Stub for unit test of SOLR DAO's using embedded SOLR

File size: 8.4 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.0-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>1.0-SNAPSHOT</version>
17    <!-- TODO project name  -->
18    <name>VLO Web Application</name>
19    <description></description>
20
21    <properties>
22        <wicket.version>6.12.0</wicket.version>
23        <spring.version>3.2.5.RELEASE</spring.version>
24        <jetty.version>7.6.13.v20130916</jetty.version>
25    </properties>
26    <dependencies>
27        <!-- Intra-project dependencies -->
28        <dependency>
29            <groupId>${project.groupId}</groupId>
30            <artifactId>vlo-commons</artifactId>
31            <version>3.0-SNAPSHOT</version>
32        </dependency>
33       
34        <!--  WICKET DEPENDENCIES -->
35        <dependency>
36            <groupId>org.apache.wicket</groupId>
37            <artifactId>wicket-extensions</artifactId>
38            <version>${wicket.version}</version>
39        </dependency>
40        <!-- This gives us dependency injection and other Spring niceness -->
41        <dependency>
42            <groupId>org.apache.wicket</groupId>
43            <artifactId>wicket-spring</artifactId>
44            <version>${wicket.version}</version>
45        </dependency>
46       
47        <!-- SPRING FRAMEWORK -->
48        <dependency>
49            <groupId>org.springframework</groupId>
50            <artifactId>spring-context</artifactId>
51            <version>${spring.version}</version>
52            <exclusions>
53                <!--
54                    We want Spring to use SLF4J instead (using
55                    jcl-over-slf4j, see below)
56                -->
57                <exclusion>
58                    <groupId>commons-logging</groupId> <!-- aka JCL -->
59                    <artifactId>commons-logging</artifactId>
60                </exclusion>
61            </exclusions>
62        </dependency>
63        <dependency>
64            <groupId>org.springframework</groupId>
65            <artifactId>spring-web</artifactId>
66            <version>${spring.version}</version>
67        </dependency>
68        <dependency>
69            <groupId>org.springframework</groupId>
70            <artifactId>spring-test</artifactId>
71            <version>${spring.version}</version>
72            <scope>test</scope>
73        </dependency>
74       
75        <!-- LOGGING DEPENDENCIES - LOG4J -->
76        <dependency>
77            <groupId>org.slf4j</groupId>
78            <artifactId>slf4j-log4j12</artifactId>
79            <version>${slf4j.version}</version>
80        </dependency>
81        <!-- Make Spring log to SLF4J, too (drop-in replacement for JCL) -->
82        <dependency>
83            <groupId>org.slf4j</groupId>
84            <artifactId>jcl-over-slf4j</artifactId>
85            <version>${slf4j.version}</version>
86        </dependency>
87
88        <!--  JETTY DEPENDENCIES FOR TESTING  -->
89        <dependency>
90            <groupId>org.eclipse.jetty.aggregate</groupId>
91            <artifactId>jetty-all-server</artifactId>
92            <version>${jetty.version}</version>
93            <scope>provided</scope>
94        </dependency>
95        <dependency>
96            <groupId>org.apache.solr</groupId>
97            <artifactId>solr-solrj</artifactId>
98            <version>${solr.version}</version>
99            <type>jar</type>
100        </dependency>
101        <!-- SOLR TESTING -->
102        <dependency>
103            <groupId>org.apache.solr</groupId>
104            <artifactId>solr-test-framework</artifactId>
105            <version>${solr.version}</version>
106            <scope>test</scope>
107            <type>jar</type>
108        </dependency>
109        <dependency>
110            <groupId>org.apache.solr</groupId>
111            <artifactId>solr-core</artifactId>
112            <version>${solr.version}</version>
113            <scope>test</scope>
114            <type>jar</type>
115        </dependency>
116        <!-- JMOCK FOR MOCKING -->
117        <dependency>
118            <groupId>org.jmock</groupId>
119            <artifactId>jmock-junit4</artifactId>
120            <version>2.6.0</version>
121            <scope>test</scope>
122            <exclusions>
123                <exclusion>
124                    <artifactId>junit-dep</artifactId>
125                    <groupId>junit</groupId>
126                </exclusion>
127            </exclusions>
128        </dependency>
129    </dependencies>
130   
131    <build>
132        <resources>
133            <resource>
134                <filtering>false</filtering>
135                <directory>src/main/resources</directory>
136            </resource>
137            <resource>
138                <filtering>false</filtering>
139                <directory>src/main/java</directory>
140                <includes>
141                    <include>**</include>
142                </includes>
143                <excludes>
144                    <exclude>**/*.java</exclude>
145                </excludes>
146            </resource>
147        </resources>
148        <testResources>
149            <testResource>
150                <filtering>false</filtering>
151                <directory>src/test/resources</directory>
152            </testResource>
153            <testResource>
154                <filtering>false</filtering>
155                <directory>src/test/java</directory>
156                <includes>
157                    <include>**</include>
158                </includes>
159                <excludes>
160                    <exclude>**/*.java</exclude>
161                </excludes>
162            </testResource>
163        </testResources>
164        <plugins>
165            <plugin>
166                <inherited>true</inherited>
167                <groupId>org.apache.maven.plugins</groupId>
168                <artifactId>maven-compiler-plugin</artifactId>
169                <version>2.5.1</version>
170                <configuration>
171                    <source>1.6</source>
172                    <target>1.6</target>
173                    <encoding>UTF-8</encoding>
174                    <showWarnings>true</showWarnings>
175                    <showDeprecation>true</showDeprecation>
176                </configuration>
177            </plugin>
178            <plugin>
179                <groupId>org.mortbay.jetty</groupId>
180                <artifactId>jetty-maven-plugin</artifactId>
181                <version>${jetty.version}</version>
182                <configuration>
183                    <connectors>
184                        <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
185                            <port>8080</port>
186                            <maxIdleTime>3600000</maxIdleTime>
187                        </connector>
188                        <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
189                            <port>8443</port>
190                            <maxIdleTime>3600000</maxIdleTime>
191                            <keystore>${project.build.directory}/test-classes/keystore</keystore>
192                            <password>wicket</password>
193                            <keyPassword>wicket</keyPassword>
194                        </connector>
195                    </connectors>
196                </configuration>
197            </plugin>
198            <plugin>
199                <artifactId>maven-assembly-plugin</artifactId>
200                <version>2.3</version>
201                <configuration>
202                    <descriptors>
203                        <descriptor>src/main/assembly/buildwar.xml</descriptor>
204                    </descriptors>
205                </configuration>
206                <executions>
207                    <execution>
208                        <id>make-assemblyJ</id>
209                        <phase>package</phase>
210                        <goals>
211                            <goal>single</goal>
212                        </goals>
213                    </execution>
214                </executions>
215            </plugin>
216        </plugins>
217    </build>
218
219    <repositories>
220        <repository>
221            <id>Apache Nexus</id>
222            <url>https://repository.apache.org/content/repositories/snapshots/</url>
223            <releases>
224                <enabled>false</enabled>
225            </releases>
226            <snapshots>
227                <enabled>true</enabled>
228            </snapshots>
229        </repository>
230    </repositories>
231</project>
Note: See TracBrowser for help on using the repository browser.