-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
605 lines (533 loc) · 22.9 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.bgee</groupId>
<artifactId>bgee-applications</artifactId>
<packaging>pom</packaging>
<version>15</version>
<name>Bgee</name>
<url>https://www.bgee.org/</url>
<description>Bgee allows to automatically compare gene expression patterns between species, by referencing expression data on anatomical ontologies, and designing homology relationships between them.</description>
<organization>
<name>Evolutionary Bioinformatics Group -
SIB Swiss Institute of Bioinformatics -
Department of Ecology and Evolution -
University of Lausanne</name>
<url>https://bioinfo.unil.ch/</url>
</organization>
<developers>
<developer>
<name>Frederic Bastian</name>
<email>frederic.bastian@unil.ch</email>
</developer>
<developer>
<name>Valentine Rech de Laval</name>
<email>Valentine.RechdeLaval@unil.ch</email>
</developer>
</developers>
<contributors>
<contributor>
<name />
<email />
</contributor>
</contributors>
<mailingLists>
<mailingList>
<name>bgee@sib.swiss</name>
</mailingList>
</mailingLists>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- We create the property skip.surefire.tests to override the property
skipTests of the surefire plugin. This is because using skipTests=true also
skips integration tests, while we would like to be able to run integration
tests and to skip unit tests. So, to skip unit test, we would use the property
skip.surefire.tests=true. But in that case, using skipTests=true would not
skip unit tests anymore. So we default skip.surefire.tests to skipTests,
and everything is back to normal, we just have a new additional property
allowing to skip unit tests but not integration tests. See http://stackoverflow.com/a/17932772/1768736 -->
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
<skipITs>${skipTests}</skipITs>
</properties>
<repositories>
<repository>
<id>bgee-local-repository</id>
<url>file://${basedir}/../m2_local_repository/repository</url>
</repository>
<!--
For now we don't use bigmemory so we remove the dependencies
to avoid using the terracotta maven repository
<repository>
<id>terracotta-repository</id>
<url>http://www.terracotta.org/download/reflector/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
-->
</repositories>
<modules>
<module>bgee-core</module>
<module>bgee-dao-api</module>
<module>bgee-dao-sql</module>
<module>bgee-pipeline</module>
<module>bgee-webapp</module>
</modules>
<!-- Dependencies needed for *all* sub-projects -->
<dependencies>
<!-- Logging system -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.19.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.19.0</version>
<scope>compile</scope>
</dependency>
<!-- General useful library (e.g., defines StringUtils) -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.11.0</version>
<scope>compile</scope>
</dependency>
<!-- Unit testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<!-- Mock object during unit testing -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.7.7</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Dependencies needed for some sub-projects -->
<dependencyManagement>
<dependencies>
<!-- To read/write CSV/TSV files in pipeline,
and write CSV/TSV files in webapp -->
<dependency>
<groupId>net.sf.supercsv</groupId>
<artifactId>super-csv</artifactId>
<version>2.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.supercsv</groupId>
<artifactId>super-csv-dozer</artifactId>
<version>2.4.0</version>
<scope>compile</scope>
</dependency>
<!-- bgee-dao-api, used by many modules -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bgee-dao-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<!-- bgee-core, used by many modules -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bgee-core</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<!-- test classes from bgee-dao-pi, used by any module using
DAOs -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bgee-dao-api</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bgee-dao-sql</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<!-- Needed for the pipeline -->
<!-- Includes OWLools-Core, OBO2OWL, OWLAPI -->
<dependency>
<groupId>org.bbop</groupId>
<artifactId>OWLTools-all</artifactId>
<version>0.3.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<!-- Used to generate our custom NCBI taxonomy ontology -->
<dependency>
<groupId>org.bbop</groupId>
<artifactId>OWLTools-ncbi</artifactId>
<version>0.3.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<!-- To parse the OMA HOG data file -->
<dependency>
<groupId>sbc</groupId>
<artifactId>orthoxml</artifactId>
<version>0.1b</version>
<scope>compile</scope>
</dependency>
<!-- End for pipeline -->
<!-- Needed for the webapp -->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<version>10.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
<scope>compile</scope>
</dependency>
<!--
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-ee</artifactId>
<version>2.10.2.2.15</version>
<scope>compile</scope>
</dependency>
-->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.19.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
<scope>compile</scope>
</dependency>
<!-- To send Mails -->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
<scope>compile</scope>
</dependency>
<!-- Filter for topanat-dev, enabling cross-domain queries
(will make local development easier),
see http://stackoverflow.com/a/30319456/1768736 -->
<dependency>
<groupId>com.thetransactioncompany</groupId>
<artifactId>cors-filter</artifactId>
<version>2.9.1</version>
<scope>compile</scope>
</dependency>
<!-- IMPORTANT : Keep this dependency with 'provided' scope even
if it is not used, as ehcache-core is replaced by ehcache-ee to use bigmemory.
The reason is that it is somehow automatically included with ehcache-web
if not explicitly declared here, and conflicts with ehcache-ee when deployed. -->
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>2.10.6</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-web</artifactId>
<version>2.0.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.0</version>
<scope>compile</scope>
</dependency>
<!--
For now we don't use bigmemory so we remove the dependencies
to avoid using the terracotta maven repository
<dependency>
<groupId>org.terracotta.bigmemory</groupId>
<artifactId>bigmemory</artifactId>
<version>4.1.8</version>
<scope>compile</scope>
</dependency>
-->
<!-- End for webapp -->
<!-- Needed for the core layer -->
<!-- Used to generate hashes -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.15</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.jbytecode</groupId>
<artifactId>RCaller</artifactId>
<version>3.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.8.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.6.1</version>
<scope>compile</scope>
</dependency>
<!-- End for the core layer -->
<!-- Needed for the dao-api layer -->
<!-- End for the dao-api layer -->
<!-- Needed for the dao-sql layer -->
<!-- JDBC logging library -->
<dependency>
<groupId>org.bgee.log4jdbc-log4j2</groupId>
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
<version>1.17-SNAPSHOT</version>
</dependency>
<!-- The JDBC connector -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.29</version>
<scope>compile</scope>
</dependency>
<!-- Used for integration test using a real MySQL database. -->
<!-- Spring framework is used to execute the .sql files to create
the database. -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.3.22</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.3.22</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.30</version>
<scope>test</scope>
</dependency>
<!-- The Sphinx search -->
<dependency>
<groupId>org.sphx</groupId>
<artifactId>api</artifactId>
<version>2.3.2</version>
<scope>compile</scope>
</dependency>
<!-- End for the dao-sql layer -->
</dependencies>
</dependencyManagement>
<build>
<!-- plugins needed for ALL sub-modules -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<!-- Code not used anymore, was necessary to compile with JDK 7,
we moved to Java 8 -->
<!--
<compilerVersion>1.7</compilerVersion>
<fork>true</fork>
-->
<!--
You need to set up the path to a JDK 7 in the Maven settings.xml file,
as explained here: https://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html
For instance:
<profile>
<id>compiler</id>
<properties>
<JAVA_1_7_HOME>/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home</JAVA_1_7_HOME>
<JAVA_1_7_BOOTCLASSPATH>/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/lib/*.jar</JAVA_1_7_BOOTCLASSPATH>
</properties>
</profile>
[...]
<activeProfiles>
<activeProfile>compiler</activeProfile>
</activeProfiles>
-->
<!--
<executable>${JAVA_1_7_HOME}/bin/javac</executable>
<bootclasspath>${JAVA_1_7_BOOTCLASSPATH}</bootclasspath>
-->
<!-- End of unused code -->
</configuration>
</plugin>
<!-- Install in our local maven repository libraries that are
not on Maven -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<!-- set inherited to do it only once, and not for each sub-module -->
<inherited>false</inherited>
<executions>
<execution>
<id>install-libraries</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>${basedir}/m2_local_repository/mvn-install-file.sh</executable>
<workingDirectory>${basedir}/m2_local_repository/</workingDirectory>
</configuration>
</plugin>
<!-- unit tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<!-- Default value of enableAssertions is true, but just to make clear... -->
<enableAssertions>true</enableAssertions>
<!-- Property createe to skip surefire tests without
skipping failsafe tests. Property value is default to skipTests so that we
can still skip unit tests by using skipTests. See the documentation of the
property skip.surefire.tests in this file for more details. -->
<skipTests>${skip.surefire.tests}</skipTests>
</configuration>
</plugin>
<!-- Generates sources and javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>install</phase>
<goals>
<goal>jar</goal>
<goal>aggregate</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<!-- Plugins needed for some sub-modules -->
<pluginManagement>
<plugins>
<!-- *******Used to generate executable JAR files with depedencies******** -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
</plugin>
<!-- *******Used to rename static files with version number in bgee-webapp******** -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<!-- *******Used to minify CSS and JS files in bgee-webapp******** -->
<plugin>
<groupId>com.samaxes.maven</groupId>
<artifactId>minify-maven-plugin</artifactId>
<version>1.7.6</version>
</plugin>
<!-- ******************** Needed for integration tests in bgee-dao-sql *********************** -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sql-maven-plugin</artifactId>
<version>1.5</version>
</plugin>
<!-- *******************// END integration tests in bgee-dao-sql ********************* -->
<!-- to get rid of the warning 'maven-enforcer-plugin (goal
"enforce") is ignored by m2e' in Eclipse. See http://stackoverflow.com/a/13043842/1768736 -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<!-- to generate jar of test classes -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<!-- to generate jar of war project -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>