forked from compbio-UofT/medsavant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
566 lines (547 loc) · 21.7 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
See the NOTICE file distributed with this work for additional
information regarding copyright ownership.
This is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this software; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see the FSF site: http://www.fsf.org.
--><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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.toronto.cs.medsavant</groupId>
<artifactId>medsavant-parent</artifactId>
<version>1.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>MedSavant - Parent POM</name>
<description>MedSavant is a search engine for genetic variants </description>
<url>http://www.genomesavant.com/p/medsavant/</url>
<inceptionYear>2011</inceptionYear>
<licenses>
<license>
<name>LGPL 2.1</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/compbio-UofT/medsavant.git</connection>
<developerConnection>scm:git:[email protected]:compbio-UofT/medsavant.git</developerConnection>
<url>https://github.com/compbio-UofT/medsavant.git/tree/master/</url>
<tag>HEAD</tag>
</scm>
<organization>
<name>University of Toronto, Computational Biology Lab</name>
<url>http://compbio.cs.toronto.edu/</url>
</organization>
<distributionManagement>
<site>
<id>nexus.cs.toronto.edu</id>
<url>dav:http://nexus.cs.toronto.edu/nexus/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</url>
</site>
<repository>
<id>nexus.cs.toronto.edu</id>
<name>Maven2 Remote Repository for Releases</name>
<url>http://nexus.cs.toronto.edu/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>nexus.cs.toronto.edu</id>
<name>Maven2 Development Repository for Snapshots</name>
<url>http://nexus.cs.toronto.edu/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>uoft-releases</id>
<name>UofT Releases repository</name>
<url>http://nexus.cs.toronto.edu/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
<repository>
<id>uoft-snapshots</id>
<name>UofT Releases repository</name>
<url>http://nexus.cs.toronto.edu/nexus/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
<repository>
<id>uoft-externals</id>
<name>UofT external repositories mirror</name>
<url>http://nexus.cs.toronto.edu/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>uoft-externals</id>
<name>UofT external repositories mirror</name>
<url>http://nexus.cs.toronto.edu/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<properties>
<enforcer.skip>false</enforcer.skip>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jide.version>3.5.6</jide.version>
<savant.version>2.0.5</savant.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Apache Commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<!-- Everybody logs -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<defaultGoal>install</defaultGoal>
<extensions>
<!-- Enables uploading releases to Nexus -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.2</version>
</extension>
</extensions>
<plugins>
<!-- Show compiler warnings -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-Xlint:none</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>1.1</version>
<executions>
<!-- Check that all Maven plugins have versions defined -->
<execution>
<id>enforce-plugins</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>Best Practice is to always define plugin versions!</message>
<banLatest>false</banLatest>
<banRelease>false</banRelease>
<banSnapshots>false</banSnapshots>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
<configuration>
<skip>${enforcer.skip}</skip>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- Apply checkstyle rules and fail the build in case of errors. The checkstyle config
files are taken from the build-tools JAR module.-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.9.1</version>
<dependencies>
<dependency>
<groupId>edu.toronto.cs</groupId>
<artifactId>common-verification-resources</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<configuration>
<consoleOutput>true</consoleOutput>
<!-- We use this to disable checkstyle when the clover profile is executed since there's a
conflict between checkstyle and clover. Namely the clovered code doesn't pass our
checkstyle rules -->
<skip>${checkstyle.skip}</skip>
<configLocation>checkstyle.xml</configLocation>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Check license headers and fail the build if they're missing or not matching the defined format -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>1.9.0</version>
<configuration>
<skip>${license.skip}</skip>
<header>license.txt</header>
<strictCheck>true</strictCheck>
<headerDefinitions>
<!-- Our style for XML headers isn't standard so we need to define it in a custom manner.
See xwiki-commons-tool-validation-resources module -->
<headerDefinition>license-apache-xml-definition.xml</headerDefinition>
<headerDefinition>license-apache-script-definition.xml</headerDefinition>
<headerDefinition>license-apache-batch-definition.xml</headerDefinition>
</headerDefinitions>
<!-- Our Java and XML styles aren't the default so we need to change the mapping -->
<mapping>
<java>SLASHSTAR_STYLE</java>
<aj>SLASHSTAR_STYLE</aj>
</mapping>
<!-- We're only interested in checking our sources and our POMs -->
<includes>
<include>src/**</include>
<include>pom.xml</include>
</includes>
</configuration>
<!-- Add a dependency since this is where the maven-license-plugin plugin will find the license.txt file -->
<dependencies>
<dependency>
<groupId>edu.toronto.cs</groupId>
<artifactId>common-verification-resources</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Run the exec plugin on the final jar, not on individual classes,
since we require the MANIFEST file to be present (that is where the version is defined) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>1.2.1</version>
<executions>
<execution>
<id>default-cli</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>java</executable>
<arguments>
<argument>-Xmx4G</argument>
<argument>-jar</argument>
<argument>${project.build.directory}/${project.build.finalName}.jar</argument>
<classpath/>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.4</version>
<configuration>
<!-- By default the release plugin will execute the "clean" and "verify" goals but won't perform an
"install". This is causing problems since several modules will fail to build during release:prepare.
See http://tinyurl.com/354vwe for more details. Thus we're forcing the execution of the "install"
goal. -->
<preparationGoals>clean install</preparationGoals>
<!-- Avoid site generation during the release:perform to speed up release process -->
<goals>deploy</goals>
<mavenExecutorId>forked-path</mavenExecutorId>
<autoVersionSubmodules>true</autoVersionSubmodules>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.5.1</version>
<!-- Java 1.6 is required -->
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.12.3</version>
<!-- Rule is to put tests in *Test classes -->
<configuration>
<includes>
<include>**/*Test.class</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.4</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.7</version>
<!-- We're deploying to Nexus using the WebDAV protocol -->
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.5</version>
<executions>
<execution>
<id>clirr-check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<comparisonVersion>${clirr.previous.version}</comparisonVersion>
<skip>${clirr.skip}</skip>
<excludes>
<exclude>**/internal/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>2.8.1</version>
<configuration>
<!-- Always exclude the internal package since it's not user-public -->
<excludePackageNames>*.internal.*</excludePackageNames>
<!-- Make sure javadoc has enough memory -->
<maxmemory>300m</maxmemory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<!-- Lock down plugin version for build reproducibility -->
<version>3.2</version>
<!-- Site Plugin doesn’t automatically pull the Apache Wagon implementation -->
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
<configuration>
<!-- Since contacting the Maven Repositories can take a very long time, tell the plugin not to display
the repository locations of the dependencies in the report. -->
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
<reports>
<report>summary</report>
<report>index</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>mailing-list</report>
<report>issue-tracking</report>
<report>scm</report>
</reports>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<!-- Always exclude the internal package since it's not user-public -->
<excludePackageNames>*.internal.*</excludePackageNames>
<!-- Make sure javadoc has enough memory -->
<maxmemory>300m</maxmemory>
</configuration>
<!-- Don't generate test javadoc -->
<reports>
<report>javadoc</report>
</reports>
</plugin>
</reportPlugins>
</configuration>
</plugin>
<!-- Ignore/Execute plugin execution -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<!-- copy-dependency plugin -->
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>utilities</module>
<module>MedSavantShared</module>
<module>jannovar</module>
<module>MedSavantServerEngine</module>
<module>MedSavantClient</module>
<module>MedSavantJSONClient</module>
<module>distribution</module>
<module>custom-libs/medsavant-component-fields</module>
<module>custom-libs/medsavant-app-comm</module>
<module>custom-libs/mfiume-component-transition</module>
</modules>
</project>