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