forked from monarch-initiative/phenol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
406 lines (364 loc) · 13 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
<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.monarchinitiative.phenol</groupId>
<artifactId>phenol</artifactId>
<packaging>pom</packaging>
<version>1.2.5-SNAPSHOT</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Phenotype Ontology Library: phenol</description>
<url>https://github.com/monarchinitiative/phenol</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<hamcrest.version>1.3</hamcrest.version>
<junit.version>4.12</junit.version>
<guava.version>22.0</guava.version>
<checkstyle.version>2.17</checkstyle.version>
<slf4j.version>1.7.24</slf4j.version>
<commons.io.version>2.6</commons.io.version>
<mockito.version>2.8.47</mockito.version>
<jcommander.version>1.72</jcommander.version>
<jackson.version>2.9.4</jackson.version>
<h2.version>1.4.196</h2.version>
<jgrapht.version>1.2.0</jgrapht.version>
</properties>
<modules>
<module>phenol-cli</module>
<module>phenol-core</module>
<module>phenol-io</module>
<module>phenol-analysis</module>
</modules>
<!-- Inherit artifact from SonaType OSS pom.xml Following this article:
http://java.dzone.com/articles/deploy-maven-central -->
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<!-- License Information for Maven Central -->
<licenses>
<license>
<name>BSD 3-clause Clear License</name>
<url>https://spdx.org/licenses/BSD-3-Clause-Clear.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Developers Information for Maven Central -->
<developers>
<developer>
<name>Sebastian Bauer</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Peter Robinson</name>
<email>[email protected]</email>
<organization>The Jackson Laboratory</organization>
<organizationUrl>https://www.jax.org</organizationUrl>
</developer>
<developer>
<name>Manuel Holtgrewe</name>
<email>[email protected]</email>
<organization>Berlin Institute of Health</organization>
<organizationUrl>https://www.bihealth.de</organizationUrl>
</developer>
<developer>
<name>Sebastian Koehler</name>
<email>[email protected]</email>
<organization>Charite University Medicine Berlin</organization>
<organizationUrl>https://www.charite.de</organizationUrl>
</developer>
<developer>
<name>HyeongSik Kim</name>
<email>[email protected]</email>
<organization>Lawrence Berkeley National Laboratory</organization>
<organizationUrl>https://www.lbl.gov</organizationUrl>
</developer>
</developers>
<!-- SCM Information for Maven Central
<scm>
<connection>scm:git:[email protected]:phenomics/ontolib.git</connection>
<developerConnection>scm:git:[email protected]:phenomics/ontolib.git</developerConnection>
<url>scm:git:[email protected]:phenomics/ontolib.git</url>
</scm>-->
<scm>
<developerConnection>scm:git:https://github.com/aeyates/phenol.git</developerConnection>
<tag>HEAD</tag>
</scm>
<dependencies>
<!-- JUnit testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- Hamcrest, JUnit addon -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<!-- Mockito mocking -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<!-- SLF4J API -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!--
Embedded components such as libraries or frameworks should not declare a dependency on any SLF4J binding
but only depend on slf4j-api. When a library declares a compile-time dependency on a SLF4J binding,
it imposes that binding on the end-user, thus negating SLF4J's purpose.
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<type>maven-plugin</type>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency> -->
<!-- Google Guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.jgrapht</groupId>
<artifactId>jgrapht-core</artifactId>
<version>${jgrapht.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- JUnit testing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<forkCount>3</forkCount>
<reuseForks>true</reuseForks>
<argLine>-Xmx1024m -XX:MaxPermSize=256m -Duser.region=US -Duser.timezone=UTC</argLine>
<systemPropertyVariables>
<user.language>en</user.language>
<user.region>US</user.region>
<user.timezone>UTC</user.timezone>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<!-- <DependencyConvergence /> -->
<bannedPlugins>
<!-- will only display a warning but does not fail the build. -->
<level>ERROR</level>
<excludes>
<exclude>org.apache.maven.plugins:maven-verifier-plugin</exclude>
</excludes>
<message>Please consider using the maven-invoker-plugin (http://maven.apache.org/plugins/maven-invoker-plugin/)!</message>
</bannedPlugins>
<requireMavenVersion>
<version>3.0</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.8</version>
</requireJavaVersion>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc generation. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<defaultVersion>${project.version}</defaultVersion>
<show>public</show>
<nohelp>true</nohelp>
<header>${project.artifactId}, ${project.version}</header>
<footer>${project.artifactId}, ${project.version}</footer>
<doctitle>${project.artifactId}, ${project.version}</doctitle>
<destDir>${project.version}</destDir>
<reportOutputDirectory>${project.reporting.outputDirectory}/apidocs/api/</reportOutputDirectory>
</configuration>
<executions>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
</goals>
<phase>site</phase>
<configuration>
</configuration>
</execution>
</executions>
</plugin>
<!-- Source attachments -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Jacoco Coverage Reports -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions>
<!-- Prepares the property pointing to the JaCoCo runtime agent
which is passed as VM argument when Maven the Surefire plugin is executed. -->
<execution>
<id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- Ensures that the code coverage report for unit tests is created
after unit tests have been run. -->
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Compilation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- Set versions into JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Code style checking -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>6.12</version>
</dependency>
</dependencies>
<configuration>
<configLocation>/google_checks.xml</configLocation>
<enableFilesSummary>false</enableFilesSummary>
<sourceDirectories>
<sourceDirectory>src/main/java</sourceDirectory>
</sourceDirectories>
</configuration>
</plugin>
<!-- Use release:prepare to get the pom versions ready for release. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
</plugins>
<!-- Ignore various plugins in Eclipse/m2e -->
<pluginManagement>
<plugins>
<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>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jacoco</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<versionRange>
[0.7.2.201409121644,)
</versionRange>
<goals>
<goal>prepare-agent</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>