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 | <modelVersion>4.0.0</modelVersion> |
---|
6 | <groupId>eu.clarin.cmdi</groupId> |
---|
7 | <artifactId>VirtualCollectionRegistry</artifactId> |
---|
8 | <packaging>war</packaging> |
---|
9 | <name>CLARIN Virtual Collection Registry</name> |
---|
10 | <version>1.1-SNAPSHOT</version> |
---|
11 | |
---|
12 | <organization> |
---|
13 | <name>CLARIN</name> |
---|
14 | <url>http://www.clarin.eu/</url> |
---|
15 | </organization> |
---|
16 | |
---|
17 | <developers> |
---|
18 | <developer> |
---|
19 | <name>Oliver Schonefeld</name> |
---|
20 | <organization>Institut fÃŒr Deutsche Sprache</organization> |
---|
21 | <url>http://www.ids-mannheim.de/</url> |
---|
22 | </developer> |
---|
23 | <developer> |
---|
24 | <name>Twan Goosen</name> |
---|
25 | <organization>CLARIN</organization> |
---|
26 | <url>http://www.clarin.eu/</url> |
---|
27 | </developer> |
---|
28 | </developers> |
---|
29 | |
---|
30 | <licenses> |
---|
31 | <license> |
---|
32 | <name>GNU General Public License Version 3 (GPLv3)</name> |
---|
33 | <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> |
---|
34 | </license> |
---|
35 | </licenses> |
---|
36 | |
---|
37 | <properties> |
---|
38 | <!-- project settings --> |
---|
39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
---|
40 | <!-- plug-in settings --> |
---|
41 | <maven.compiler.source>1.7</maven.compiler.source> |
---|
42 | <maven.compiler.target>1.7</maven.compiler.target> |
---|
43 | <!-- dependency versions --> |
---|
44 | <slf4j.version>1.7.7</slf4j.version> |
---|
45 | <hibernate.version>3.6.10.Final</hibernate.version> |
---|
46 | <hibernate.jpaVersion>1.0.0.Final</hibernate.jpaVersion> |
---|
47 | <jersey.version>1.18.1</jersey.version> |
---|
48 | <jackson.version>1.6.1</jackson.version> |
---|
49 | <wicket.version>1.4.23</wicket.version> |
---|
50 | <spring.version>4.0.6.RELEASE</spring.version> |
---|
51 | |
---|
52 | <!-- Production settings below --> |
---|
53 | <log4j.appender>File</log4j.appender> |
---|
54 | <war.webxml>src/main/webapp/WEB-INF/web-shib.xml</war.webxml> |
---|
55 | |
---|
56 | <!-- Tell Netbeans to insert the right license header --> |
---|
57 | <netbeans.hint.license>gpl30</netbeans.hint.license> |
---|
58 | </properties> |
---|
59 | |
---|
60 | <profiles> |
---|
61 | <profile> |
---|
62 | <!-- Development profile --> |
---|
63 | <id>development</id> |
---|
64 | <properties> |
---|
65 | <!-- Log to console --> |
---|
66 | <log4j.appender>Console</log4j.appender> |
---|
67 | <!-- Use the user database realm version of web.xml --> |
---|
68 | <war.webxml>src/main/webapp/WEB-INF/web-dev.xml</war.webxml> |
---|
69 | </properties> |
---|
70 | </profile> |
---|
71 | </profiles> |
---|
72 | |
---|
73 | <dependencies> |
---|
74 | <dependency> |
---|
75 | <groupId>org.slf4j</groupId> |
---|
76 | <artifactId>slf4j-api</artifactId> |
---|
77 | </dependency> |
---|
78 | |
---|
79 | <dependency> |
---|
80 | <groupId>org.slf4j</groupId> |
---|
81 | <artifactId>slf4j-log4j12</artifactId> |
---|
82 | <version>${slf4j.version}</version> |
---|
83 | </dependency> |
---|
84 | |
---|
85 | <dependency> |
---|
86 | <groupId>org.slf4j</groupId> |
---|
87 | <artifactId>jcl-over-slf4j</artifactId> |
---|
88 | <version>${slf4j.version}</version> |
---|
89 | </dependency> |
---|
90 | |
---|
91 | <dependency> |
---|
92 | <groupId>org.apache.commons</groupId> |
---|
93 | <artifactId>commons-lang3</artifactId> |
---|
94 | <version>3.3.2</version> |
---|
95 | </dependency> |
---|
96 | |
---|
97 | <dependency> |
---|
98 | <groupId>org.codehaus.woodstox</groupId> |
---|
99 | <artifactId>woodstox-core-asl</artifactId> |
---|
100 | <version>4.0.11</version> |
---|
101 | <type>jar</type> |
---|
102 | <scope>compile</scope> |
---|
103 | <exclusions> |
---|
104 | <!-- StaX is part of JRE 1.5 and newer --> |
---|
105 | <exclusion> |
---|
106 | <artifactId>stax-api</artifactId> |
---|
107 | <groupId>javax.xml.stream</groupId> |
---|
108 | </exclusion> |
---|
109 | </exclusions> |
---|
110 | </dependency> |
---|
111 | |
---|
112 | <dependency> |
---|
113 | <groupId>net.java.dev.msv</groupId> |
---|
114 | <artifactId>msv-core</artifactId> |
---|
115 | <version>2009.1</version> |
---|
116 | <type>jar</type> |
---|
117 | <scope>runtime</scope> |
---|
118 | </dependency> |
---|
119 | |
---|
120 | <dependency> |
---|
121 | <groupId>org.hibernate.javax.persistence</groupId> |
---|
122 | <artifactId>hibernate-jpa-2.1-api</artifactId> |
---|
123 | <version>${hibernate.jpaVersion}</version> |
---|
124 | </dependency> |
---|
125 | |
---|
126 | <dependency> |
---|
127 | <groupId>org.hibernate</groupId> |
---|
128 | <artifactId>hibernate-entitymanager</artifactId> |
---|
129 | <version>${hibernate.version}</version> |
---|
130 | <scope>runtime</scope> |
---|
131 | </dependency> |
---|
132 | |
---|
133 | <dependency> |
---|
134 | <groupId>javax.servlet</groupId> |
---|
135 | <artifactId>servlet-api</artifactId> |
---|
136 | <version>2.5</version> |
---|
137 | <type>jar</type> |
---|
138 | <scope>provided</scope> |
---|
139 | </dependency> |
---|
140 | |
---|
141 | <dependency> |
---|
142 | <groupId>javax.ws.rs</groupId> |
---|
143 | <artifactId>jsr311-api</artifactId> |
---|
144 | <version>1.1.1</version> |
---|
145 | <type>jar</type> |
---|
146 | </dependency> |
---|
147 | |
---|
148 | <dependency> |
---|
149 | <groupId>com.sun.jersey</groupId> |
---|
150 | <artifactId>jersey-servlet</artifactId> |
---|
151 | <version>${jersey.version}</version> |
---|
152 | </dependency> |
---|
153 | |
---|
154 | <dependency> |
---|
155 | <groupId>com.sun.jersey</groupId> |
---|
156 | <artifactId>jersey-json</artifactId> |
---|
157 | <version>${jersey.version}</version> |
---|
158 | <exclusions> |
---|
159 | <!-- StaX is part of JRE 1.5 and newer --> |
---|
160 | <exclusion> |
---|
161 | <groupId>stax</groupId> |
---|
162 | <artifactId>stax-api</artifactId> |
---|
163 | </exclusion> |
---|
164 | <exclusion> |
---|
165 | <groupId>com.sun.xml.bind</groupId> |
---|
166 | <artifactId>jaxb-impl</artifactId> |
---|
167 | </exclusion> |
---|
168 | <exclusion> |
---|
169 | <artifactId>jackson-mapper-asl</artifactId> |
---|
170 | <groupId>org.codehaus.jackson</groupId> |
---|
171 | </exclusion> |
---|
172 | </exclusions> |
---|
173 | </dependency> |
---|
174 | |
---|
175 | |
---|
176 | <dependency> |
---|
177 | <groupId>org.codehaus.jettison</groupId> |
---|
178 | <artifactId>jettison</artifactId> |
---|
179 | <exclusions> |
---|
180 | <exclusion> |
---|
181 | <groupId>stax</groupId> |
---|
182 | <artifactId>stax-api</artifactId> |
---|
183 | </exclusion> |
---|
184 | </exclusions> |
---|
185 | </dependency> |
---|
186 | |
---|
187 | <dependency> |
---|
188 | <groupId>de.uni_leipzig.asv</groupId> |
---|
189 | <artifactId>clarin.webservices.pidservices2</artifactId> |
---|
190 | <version>2.1.0</version> |
---|
191 | <exclusions> |
---|
192 | <exclusion> |
---|
193 | <!-- replaced with jcl-over-slf4j --> |
---|
194 | <artifactId>commons-logging</artifactId> |
---|
195 | <groupId>commons-logging</groupId> |
---|
196 | </exclusion> |
---|
197 | </exclusions> |
---|
198 | </dependency> |
---|
199 | |
---|
200 | <dependency> |
---|
201 | <groupId>org.apache.httpcomponents</groupId> |
---|
202 | <artifactId>httpclient</artifactId> |
---|
203 | <version>4.3.5</version> |
---|
204 | <type>jar</type> |
---|
205 | <exclusions> |
---|
206 | <exclusion> |
---|
207 | <artifactId>commons-logging</artifactId> |
---|
208 | <groupId>commons-logging</groupId> |
---|
209 | </exclusion> |
---|
210 | </exclusions> |
---|
211 | </dependency> |
---|
212 | |
---|
213 | <dependency> |
---|
214 | <groupId>org.apache.wicket</groupId> |
---|
215 | <artifactId>wicket</artifactId> |
---|
216 | </dependency> |
---|
217 | |
---|
218 | <dependency> |
---|
219 | <groupId>org.apache.wicket</groupId> |
---|
220 | <artifactId>wicket-auth-roles</artifactId> |
---|
221 | <version>${wicket.version}</version> |
---|
222 | </dependency> |
---|
223 | |
---|
224 | <dependency> |
---|
225 | <groupId>org.apache.wicket</groupId> |
---|
226 | <artifactId>wicket-datetime</artifactId> |
---|
227 | <version>${wicket.version}</version> |
---|
228 | </dependency> |
---|
229 | |
---|
230 | <dependency> |
---|
231 | <groupId>org.apache.wicket</groupId> |
---|
232 | <artifactId>wicket-extensions</artifactId> |
---|
233 | <version>${wicket.version}</version> |
---|
234 | </dependency> |
---|
235 | |
---|
236 | <dependency> |
---|
237 | <groupId>org.apache.wicket</groupId> |
---|
238 | <artifactId>wicket-spring</artifactId> |
---|
239 | <version>${wicket.version}</version> |
---|
240 | </dependency> |
---|
241 | |
---|
242 | <dependency> |
---|
243 | <groupId>org.odlabs.wiquery</groupId> |
---|
244 | <artifactId>wiquery</artifactId> |
---|
245 | <version>1.2.3</version> |
---|
246 | <exclusions> |
---|
247 | <exclusion> |
---|
248 | <artifactId>log4j</artifactId> |
---|
249 | <groupId>log4j</groupId> |
---|
250 | </exclusion> |
---|
251 | </exclusions> |
---|
252 | </dependency> |
---|
253 | |
---|
254 | <!-- |
---|
255 | <dependency> |
---|
256 | <groupId>net.java.dev.javacc</groupId> |
---|
257 | <artifactId>javacc</artifactId> |
---|
258 | <version>5.0</version> |
---|
259 | <type>jar</type> |
---|
260 | <scope>provided</scope> |
---|
261 | </dependency> |
---|
262 | --> |
---|
263 | |
---|
264 | <dependency> |
---|
265 | <groupId>mysql</groupId> |
---|
266 | <artifactId>mysql-connector-java</artifactId> |
---|
267 | <version>5.1.32</version> |
---|
268 | <type>jar</type> |
---|
269 | </dependency> |
---|
270 | |
---|
271 | <dependency> |
---|
272 | <groupId>de.mpg.mpgaai</groupId> |
---|
273 | <artifactId>mpgaai-shhaa</artifactId> |
---|
274 | <version>1.0.6</version> |
---|
275 | <exclusions> |
---|
276 | <exclusion> |
---|
277 | <!-- replaced with jcl-over-slf4j --> |
---|
278 | <artifactId>commons-logging</artifactId> |
---|
279 | <groupId>commons-logging</groupId> |
---|
280 | </exclusion> |
---|
281 | <!-- a library should only depend on SLF4J but not import |
---|
282 | a specific logging backend. Therefore, get rid of |
---|
283 | those ... --> |
---|
284 | <exclusion> |
---|
285 | <artifactId>slf4j-log4j12</artifactId> |
---|
286 | <groupId>org.slf4j</groupId> |
---|
287 | </exclusion> |
---|
288 | <exclusion> |
---|
289 | <artifactId>log4j</artifactId> |
---|
290 | <groupId>log4j</groupId> |
---|
291 | </exclusion> |
---|
292 | |
---|
293 | </exclusions> |
---|
294 | </dependency> |
---|
295 | |
---|
296 | <dependency> |
---|
297 | <groupId>org.springframework</groupId> |
---|
298 | <artifactId>spring-web</artifactId> |
---|
299 | <version>${spring.version}</version> |
---|
300 | <type>jar</type> |
---|
301 | <exclusions> |
---|
302 | <exclusion> |
---|
303 | <!-- replaced with jcl-over-slf4j --> |
---|
304 | <artifactId>commons-logging</artifactId> |
---|
305 | <groupId>commons-logging</groupId> |
---|
306 | </exclusion> |
---|
307 | </exclusions> |
---|
308 | </dependency> |
---|
309 | |
---|
310 | <dependency> |
---|
311 | <groupId>com.sun.jersey.contribs</groupId> |
---|
312 | <artifactId>jersey-spring</artifactId> |
---|
313 | <version>${jersey.version}</version> |
---|
314 | <exclusions> |
---|
315 | <exclusion> |
---|
316 | <artifactId>spring-aop</artifactId> |
---|
317 | <groupId>org.springframework</groupId> |
---|
318 | </exclusion> |
---|
319 | <exclusion> |
---|
320 | <artifactId>spring-asm</artifactId> |
---|
321 | <groupId>org.springframework</groupId> |
---|
322 | </exclusion> |
---|
323 | <exclusion> |
---|
324 | <artifactId>spring-beans</artifactId> |
---|
325 | <groupId>org.springframework</groupId> |
---|
326 | </exclusion> |
---|
327 | <exclusion> |
---|
328 | <artifactId>spring-context</artifactId> |
---|
329 | <groupId>org.springframework</groupId> |
---|
330 | </exclusion> |
---|
331 | <exclusion> |
---|
332 | <artifactId>spring-core</artifactId> |
---|
333 | <groupId>org.springframework</groupId> |
---|
334 | </exclusion> |
---|
335 | <exclusion> |
---|
336 | <artifactId>spring-web</artifactId> |
---|
337 | <groupId>org.springframework</groupId> |
---|
338 | </exclusion> |
---|
339 | </exclusions> |
---|
340 | </dependency> |
---|
341 | |
---|
342 | <dependency> |
---|
343 | <groupId>net.sf.saxon</groupId> |
---|
344 | <artifactId>Saxon-HE</artifactId> |
---|
345 | <version>9.5.1-6</version> |
---|
346 | <scope>runtime</scope> |
---|
347 | <classifier>compressed</classifier> |
---|
348 | </dependency> |
---|
349 | |
---|
350 | <dependency> |
---|
351 | <groupId>eu.clarin.cmdi</groupId> |
---|
352 | <artifactId>OAIProvider</artifactId> |
---|
353 | <version>0.0.2</version> |
---|
354 | <exclusions> |
---|
355 | <exclusion> |
---|
356 | <artifactId>slf4j-jdk14</artifactId> |
---|
357 | <groupId>org.slf4j</groupId> |
---|
358 | </exclusion> |
---|
359 | </exclusions> |
---|
360 | </dependency> |
---|
361 | |
---|
362 | <!-- testing dependencies --> |
---|
363 | <dependency> |
---|
364 | <groupId>junit</groupId> |
---|
365 | <artifactId>junit</artifactId> |
---|
366 | <version>4.11</version> |
---|
367 | <type>jar</type> |
---|
368 | <scope>test</scope> |
---|
369 | </dependency> |
---|
370 | |
---|
371 | <dependency> |
---|
372 | <groupId>org.hsqldb</groupId> |
---|
373 | <artifactId>hsqldb</artifactId> |
---|
374 | <version>2.3.2</version> |
---|
375 | <type>jar</type> |
---|
376 | <scope>test</scope> |
---|
377 | </dependency> |
---|
378 | |
---|
379 | <dependency> |
---|
380 | <groupId>xmlunit</groupId> |
---|
381 | <artifactId>xmlunit</artifactId> |
---|
382 | <version>1.5</version> |
---|
383 | <scope>test</scope> |
---|
384 | <type>jar</type> |
---|
385 | </dependency> |
---|
386 | |
---|
387 | <dependency> |
---|
388 | <groupId>org.jmock</groupId> |
---|
389 | <artifactId>jmock-junit4</artifactId> |
---|
390 | <version>2.6.0</version> |
---|
391 | <scope>test</scope> |
---|
392 | </dependency> |
---|
393 | |
---|
394 | <!-- JavaMelody for application monitoring --> |
---|
395 | <dependency> |
---|
396 | <groupId>net.bull.javamelody</groupId> |
---|
397 | <artifactId>javamelody-core</artifactId> |
---|
398 | <version>1.52.0</version> |
---|
399 | <exclusions> |
---|
400 | <exclusion> |
---|
401 | <groupId>org.springframework</groupId> |
---|
402 | <artifactId>spring-aop</artifactId> |
---|
403 | </exclusion> |
---|
404 | <exclusion> |
---|
405 | <groupId>org.springframework</groupId> |
---|
406 | <artifactId>spring-context</artifactId> |
---|
407 | </exclusion> |
---|
408 | </exclusions> |
---|
409 | </dependency> |
---|
410 | </dependencies> |
---|
411 | |
---|
412 | <dependencyManagement> |
---|
413 | <dependencies> |
---|
414 | <dependency> |
---|
415 | <groupId>org.slf4j</groupId> |
---|
416 | <artifactId>slf4j-api</artifactId> |
---|
417 | <version>${slf4j.version}</version> |
---|
418 | </dependency> |
---|
419 | |
---|
420 | <dependency> |
---|
421 | <groupId>commons-codec</groupId> |
---|
422 | <artifactId>commons-codec</artifactId> |
---|
423 | <version>1.4</version> |
---|
424 | </dependency> |
---|
425 | |
---|
426 | <dependency> |
---|
427 | <groupId>commons-logging</groupId> |
---|
428 | <artifactId>commons-logging</artifactId> |
---|
429 | <version>1.1.3</version> |
---|
430 | </dependency> |
---|
431 | |
---|
432 | <dependency> |
---|
433 | <groupId>org.codehaus.jettison</groupId> |
---|
434 | <artifactId>jettison</artifactId> |
---|
435 | <version>1.2</version> |
---|
436 | </dependency> |
---|
437 | |
---|
438 | <dependency> |
---|
439 | <groupId>org.apache.wicket</groupId> |
---|
440 | <artifactId>wicket</artifactId> |
---|
441 | <version>${wicket.version}</version> |
---|
442 | </dependency> |
---|
443 | |
---|
444 | <dependency> |
---|
445 | <groupId>org.codehaus.jackson</groupId> |
---|
446 | <artifactId>jackson-core-asl</artifactId> |
---|
447 | <version>${jackson.version}</version> |
---|
448 | </dependency> |
---|
449 | |
---|
450 | <dependency> |
---|
451 | <groupId>org.codehaus.jackson</groupId> |
---|
452 | <artifactId>jackson-mapper-asl</artifactId> |
---|
453 | <version>${jackson.version}</version> |
---|
454 | </dependency> |
---|
455 | </dependencies> |
---|
456 | </dependencyManagement> |
---|
457 | |
---|
458 | <build> |
---|
459 | <resources> |
---|
460 | <resource> |
---|
461 | <filtering>true</filtering> |
---|
462 | <directory>src/main/resources</directory> |
---|
463 | </resource> |
---|
464 | <resource> |
---|
465 | <filtering>true</filtering> |
---|
466 | <directory>src/main/java</directory> |
---|
467 | <includes> |
---|
468 | <include>**/BasePage.html</include> |
---|
469 | </includes> |
---|
470 | </resource> |
---|
471 | <resource> |
---|
472 | <filtering>false</filtering> |
---|
473 | <directory>src/main/java</directory> |
---|
474 | <includes> |
---|
475 | <include>**/*.html</include> |
---|
476 | <include>**/*.css</include> |
---|
477 | <include>**/*.js</include> |
---|
478 | <include>**/*.properties</include> |
---|
479 | </includes> |
---|
480 | </resource> |
---|
481 | </resources> |
---|
482 | |
---|
483 | <testResources> |
---|
484 | <testResource> |
---|
485 | <directory>src/test/resources</directory> |
---|
486 | </testResource> |
---|
487 | </testResources> |
---|
488 | |
---|
489 | <plugins> |
---|
490 | <plugin> |
---|
491 | <groupId>org.codehaus.mojo</groupId> |
---|
492 | <artifactId>javacc-maven-plugin</artifactId> |
---|
493 | <version>2.6</version> |
---|
494 | <executions> |
---|
495 | <execution> |
---|
496 | <id>javacc</id> |
---|
497 | <goals> |
---|
498 | <goal>jjtree-javacc</goal> |
---|
499 | </goals> |
---|
500 | <phase>generate-sources</phase> |
---|
501 | </execution> |
---|
502 | </executions> |
---|
503 | </plugin> |
---|
504 | |
---|
505 | <plugin> |
---|
506 | <groupId>org.bsc.maven</groupId> |
---|
507 | <artifactId>maven-processor-plugin</artifactId> |
---|
508 | <version>2.2.4</version> |
---|
509 | <executions> |
---|
510 | <execution> |
---|
511 | <id>process</id> |
---|
512 | <goals> |
---|
513 | <goal>process</goal> |
---|
514 | </goals> |
---|
515 | <phase>generate-sources</phase> |
---|
516 | <configuration> |
---|
517 | <processors> |
---|
518 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
---|
519 | </processors> |
---|
520 | <sourceDirectory>${basedir}/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model</sourceDirectory> |
---|
521 | <outputDirectory>${project.build.directory}/generated-sources/metamodel</outputDirectory> |
---|
522 | </configuration> |
---|
523 | </execution> |
---|
524 | </executions> |
---|
525 | <dependencies> |
---|
526 | <dependency> |
---|
527 | <groupId>org.hibernate</groupId> |
---|
528 | <artifactId>hibernate-jpamodelgen</artifactId> |
---|
529 | <version>${hibernate.jpaVersion}</version> |
---|
530 | <scope>compile</scope> |
---|
531 | </dependency> |
---|
532 | </dependencies> |
---|
533 | </plugin> |
---|
534 | |
---|
535 | <plugin> |
---|
536 | <groupId>org.codehaus.mojo</groupId> |
---|
537 | <artifactId>jaxb2-maven-plugin</artifactId> |
---|
538 | <version>1.6</version> |
---|
539 | <executions> |
---|
540 | <execution> |
---|
541 | <id>xjc</id> |
---|
542 | <goals> |
---|
543 | <goal>xjc</goal> |
---|
544 | </goals> |
---|
545 | </execution> |
---|
546 | </executions> |
---|
547 | <configuration> |
---|
548 | <packageName>eu.clarin.cmdi.virtualcollectionregistry.model.cmdi</packageName> <!-- The name of your generated source package --> |
---|
549 | </configuration> |
---|
550 | </plugin> |
---|
551 | |
---|
552 | <plugin> |
---|
553 | <groupId>org.codehaus.mojo</groupId> |
---|
554 | <artifactId>build-helper-maven-plugin</artifactId> |
---|
555 | <version>1.9</version> |
---|
556 | <executions> |
---|
557 | <execution> |
---|
558 | <id>add-source</id> |
---|
559 | <goals> |
---|
560 | <goal>add-source</goal> |
---|
561 | </goals> |
---|
562 | <phase>generate-sources</phase> |
---|
563 | <configuration> |
---|
564 | <sources> |
---|
565 | <source>${project.build.directory}/generated-sources/metamodel</source> |
---|
566 | <source>${project.build.directory}/generated-sources/javacc</source> |
---|
567 | <source>${project.build.directory}/generated-sources/jjtree</source> |
---|
568 | <source>${project.build.directory}/generated-sources/jaxb</source> |
---|
569 | </sources> |
---|
570 | </configuration> |
---|
571 | </execution> |
---|
572 | </executions> |
---|
573 | </plugin> |
---|
574 | |
---|
575 | <plugin> |
---|
576 | <groupId>org.apache.maven.plugins</groupId> |
---|
577 | <artifactId>maven-compiler-plugin</artifactId> |
---|
578 | <version>2.5.1</version> |
---|
579 | <configuration> |
---|
580 | <source>${maven.compiler.source}</source> |
---|
581 | <target>${maven.compiler.target}</target> |
---|
582 | <compilerArgument>-proc:none</compilerArgument> |
---|
583 | </configuration> |
---|
584 | </plugin> |
---|
585 | |
---|
586 | <plugin> |
---|
587 | <groupId>org.apache.maven.plugins</groupId> |
---|
588 | <artifactId>maven-war-plugin</artifactId> |
---|
589 | <version>2.4</version> |
---|
590 | <configuration> |
---|
591 | <failOnMissingWebXml>true</failOnMissingWebXml> |
---|
592 | <webXml>${war.webxml}</webXml> |
---|
593 | <webResources> |
---|
594 | <!-- additional web resources: also copy schemas to web-app --> |
---|
595 | <resource> |
---|
596 | <directory>src/main/resources/META-INF</directory> |
---|
597 | <targetPath>schema</targetPath> |
---|
598 | <includes> |
---|
599 | <include>*.xsd</include> |
---|
600 | </includes> |
---|
601 | </resource> |
---|
602 | <!-- Make documentation available --> |
---|
603 | <resource> |
---|
604 | <directory>doc</directory> |
---|
605 | </resource> |
---|
606 | </webResources> |
---|
607 | </configuration> |
---|
608 | </plugin> |
---|
609 | |
---|
610 | <plugin> |
---|
611 | <groupId>org.jasig.maven</groupId> |
---|
612 | <artifactId>sass-maven-plugin</artifactId> |
---|
613 | <version>1.1.1</version> |
---|
614 | <executions> |
---|
615 | <execution> |
---|
616 | <phase>generate-resources</phase> |
---|
617 | <goals> |
---|
618 | <goal>update-stylesheets</goal> |
---|
619 | </goals> |
---|
620 | </execution> |
---|
621 | </executions> |
---|
622 | </plugin> |
---|
623 | |
---|
624 | <plugin> |
---|
625 | <artifactId>maven-assembly-plugin</artifactId> |
---|
626 | <version>2.4.1</version> |
---|
627 | <executions> |
---|
628 | <execution> |
---|
629 | <id>make-assembly</id> |
---|
630 | <phase>package</phase> |
---|
631 | <goals> |
---|
632 | <goal>single</goal> |
---|
633 | </goals> |
---|
634 | </execution> |
---|
635 | </executions> |
---|
636 | <configuration> |
---|
637 | <descriptors> |
---|
638 | <descriptor>src/assembly/distribution.xml</descriptor> |
---|
639 | </descriptors> |
---|
640 | </configuration> |
---|
641 | </plugin> |
---|
642 | </plugins> |
---|
643 | |
---|
644 | <pluginManagement> |
---|
645 | <plugins> |
---|
646 | <!-- This plugin's configuration is used to store Eclipse m2e settings |
---|
647 | only. It has no influence on the Maven build itself. --> |
---|
648 | <plugin> |
---|
649 | <groupId>org.eclipse.m2e</groupId> |
---|
650 | <artifactId>lifecycle-mapping</artifactId> |
---|
651 | <version>1.0.0</version> |
---|
652 | <configuration> |
---|
653 | <lifecycleMappingMetadata> |
---|
654 | <pluginExecutions> |
---|
655 | <pluginExecution> |
---|
656 | <pluginExecutionFilter> |
---|
657 | <groupId>org.codehaus.mojo</groupId> |
---|
658 | <artifactId>javacc-maven-plugin</artifactId> |
---|
659 | <versionRange>[2.6,)</versionRange> |
---|
660 | <goals> |
---|
661 | <goal>jjtree-javacc</goal> |
---|
662 | </goals> |
---|
663 | </pluginExecutionFilter> |
---|
664 | <action> |
---|
665 | <execute /> |
---|
666 | </action> |
---|
667 | </pluginExecution> |
---|
668 | <pluginExecution> |
---|
669 | <pluginExecutionFilter> |
---|
670 | <groupId>org.bsc.maven</groupId> |
---|
671 | <artifactId>maven-processor-plugin</artifactId> |
---|
672 | <versionRange>[2.0.0,)</versionRange> |
---|
673 | <goals> |
---|
674 | <goal>process</goal> |
---|
675 | </goals> |
---|
676 | </pluginExecutionFilter> |
---|
677 | <action> |
---|
678 | <execute /> |
---|
679 | </action> |
---|
680 | </pluginExecution> |
---|
681 | <pluginExecution> |
---|
682 | <pluginExecutionFilter> |
---|
683 | <groupId>org.codehaus.mojo</groupId> |
---|
684 | <artifactId>jaxb2-maven-plugin</artifactId> |
---|
685 | <versionRange>[1.6,)</versionRange> |
---|
686 | <goals> |
---|
687 | <goal>xjc</goal> |
---|
688 | </goals> |
---|
689 | </pluginExecutionFilter> |
---|
690 | <action> |
---|
691 | <execute /> |
---|
692 | </action> |
---|
693 | </pluginExecution> |
---|
694 | <pluginExecution> |
---|
695 | <pluginExecutionFilter> |
---|
696 | <groupId>org.jasig.maven</groupId> |
---|
697 | <artifactId>sass-maven-plugin</artifactId> |
---|
698 | <versionRange>[1.1.1,)</versionRange> |
---|
699 | <goals> |
---|
700 | <goal>update-stylesheets</goal> |
---|
701 | </goals> |
---|
702 | </pluginExecutionFilter> |
---|
703 | <action> |
---|
704 | <execute /> |
---|
705 | </action> |
---|
706 | </pluginExecution> |
---|
707 | </pluginExecutions> |
---|
708 | </lifecycleMappingMetadata> |
---|
709 | </configuration> |
---|
710 | </plugin> |
---|
711 | <!-- JAX-B If we e.g. execute on JDK 1.7, we should compile for |
---|
712 | Java 7 to get the same (or higher) JAXB API version as |
---|
713 | used during the xjc execution. --> |
---|
714 | <plugin> |
---|
715 | <groupId>org.apache.maven.plugins</groupId> |
---|
716 | <artifactId>maven-compiler-plugin</artifactId> |
---|
717 | <configuration> |
---|
718 | <source>${maven.compiler.source}</source> |
---|
719 | <target>${maven.compiler.source}</target> |
---|
720 | </configuration> |
---|
721 | </plugin> |
---|
722 | </plugins> |
---|
723 | </pluginManagement> |
---|
724 | </build> |
---|
725 | |
---|
726 | <reporting> |
---|
727 | <plugins> |
---|
728 | <!-- NCSS plugin has issues with Java 7 at the moment, check back later --> |
---|
729 | <!-- |
---|
730 | <plugin> |
---|
731 | <groupId>org.codehaus.mojo</groupId> |
---|
732 | <artifactId>javancss-maven-plugin</artifactId> |
---|
733 | <version>2.0-beta-2</version> |
---|
734 | </plugin> |
---|
735 | --> |
---|
736 | </plugins> |
---|
737 | </reporting> |
---|
738 | |
---|
739 | <repositories> |
---|
740 | <repository> |
---|
741 | <id>jboss</id> |
---|
742 | <name>JBoss Public Maven Repository Group</name> |
---|
743 | <url>https://repository.jboss.org/nexus/content/repositories/releases/</url> |
---|
744 | <layout>default</layout> |
---|
745 | </repository> |
---|
746 | |
---|
747 | <repository> |
---|
748 | <id>java-net-maven-2</id> |
---|
749 | <name>Java.net Repository</name> |
---|
750 | <url>http://download.java.net/maven/2/</url> |
---|
751 | <layout>default</layout> |
---|
752 | </repository> |
---|
753 | |
---|
754 | <repository> |
---|
755 | <id>wiquery</id> |
---|
756 | <name>wiQuery repository</name> |
---|
757 | <url>http://wiquery.googlecode.com/svn/repo/</url> |
---|
758 | <layout>default</layout> |
---|
759 | </repository> |
---|
760 | |
---|
761 | <repository> |
---|
762 | <id>clarin</id> |
---|
763 | <name>CLARIN Repository</name> |
---|
764 | <url>http://catalog.clarin.eu/ds/nexus/content/groups/public/</url> |
---|
765 | <layout>default</layout> |
---|
766 | </repository> |
---|
767 | </repositories> |
---|
768 | |
---|
769 | <pluginRepositories> |
---|
770 | <pluginRepository> |
---|
771 | <id>jboss</id> |
---|
772 | <name>JBoss Public Maven Repository Group</name> |
---|
773 | <url>https://repository.jboss.org/nexus/content/repositories/releases/</url> |
---|
774 | <layout>default</layout> |
---|
775 | </pluginRepository> |
---|
776 | </pluginRepositories> |
---|
777 | |
---|
778 | </project> |
---|