forked from ISA-tools/jUtils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
357 lines (298 loc) · 9.58 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
<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>uk.ac.ebi</groupId>
<artifactId>jutils</artifactId>
<version>14.1-SNAPSHOT</version>
<name>JUtils - Miscellanea of Java Utils</name>
<description>
General utility code for several purposes.
This project is an empty container of POM type. Most of the real stuff
is in jutils and extensions are linked from here as modules.
The project originated in the ISA-Tools project (http://isa-tools.org).
</description>
<url>https://github.com/marco-brandizi/jutils</url>
<!-- Developer Listing -->
<developers>
<developer>
<id>brandizi</id>
<name>Marco Brandizi</name>
<email>marco.brandizi@gmail.com</email>
<timezone>0</timezone>
<properties />
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j.version>2.0.16</slf4j.version>
<spring.version>6.1.13</spring.version>
</properties>
<scm>
<developerConnection>scm:git:https://github.com/marco-brandizi/jutils.git</developerConnection>
<tag>HEAD</tag>
</scm>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- The policy is to use these bridges where needed, due to transitive deps -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- An SLF4J extension, which allows for log levels (http://projects.lidalia.org.uk/lidalia-slf4j-ext/) -->
<dependency>
<groupId>uk.org.lidalia</groupId>
<artifactId>lidalia-slf4j-ext</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Lidalia uses this, but an older version. -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.3.1-jre</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.17.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.12.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<!-- Little nice utility that improves exception handling -->
<dependency>
<groupId>com.machinezoo.noexception</groupId>
<artifactId>noexception</artifactId>
<version>1.9.1</version>
</dependency>
<!-- TEST -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.14</version>
<scope>test</scope>
</dependency>
<!-- Helpers to do things like capturing System.out -->
<dependency>
<groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId>
<version>1.19.0</version>
<scope>test</scope>
</dependency>
<!--
OPTIONAL dependencies. These are not so general, so we don't force jutils's clients to
drag too much stuff with them. You need to declare these dependencies in your project in order
to use the jutils functions related to them.
For each optional dependency declared here, jutils packages that requires them are listed.
You typically need the dependency for sub-packages as well.
If a jutils package make use of any optional dependency, it has the prefix
uk.ac.ebi.utils.opt.* Moreover, usually the artifactId is reused as base name for the
jutils package.
The above rules should make it easy to match jutils dependencies with optional 3rd-party dependencies
they rely upon when used.
TODO: Use this approach to turn jutils back to a single package.
-->
<!-- Required by:
uk.ac.ebi.utils.opt.springweb
-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
<optional>true</optional>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.net.exceptions
-->
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>5.3</version>
<optional>true</optional>
</dependency>
<!-- Required by uk.ac.ebi.utils.opt.net.ConfigBootstrapWebListener -->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.1.0</version>
<optional>true</optional>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.io
uk.ac.ebi.utils.opt.config
-->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.17.0</version>
<optional>true</optional>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.io.Unix4jUtils
uk.ac.ebi.utils.opt.xml.XmlFilterUtils
-->
<dependency>
<groupId>org.unix4j</groupId>
<artifactId>unix4j-command</artifactId>
<version>0.6</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.jsignature.io-tools</groupId>
<artifactId>easystream</artifactId>
<version>1.2.15</version>
<optional>true</optional>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.net.SSLUtils
-->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.4</version>
<!-- TODO: remove, comes from older versions
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
-->
<optional>true</optional>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.orm.test.TestEntityMgrProvider
-->
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.2.Final</version>
<optional>true</optional>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.config
uk.ac.ebi.utils.opt.json
-->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>2.18.0</version>
</dependency>
<!-- Required by
uk.ac.ebi.utils.opt.json
Here, we can omit it since jackson-dataformat-yaml already includes it
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
-->
<!--
Required by uk.ac.ebi.utils.opt.runcontrol.ReactorUtils
-->
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>3.6.10</version>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>17</release>
<encoding>utf-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<properties>
<property>
<!-- Prints out spaces and test name before/after every test method and automatically -->
<name>listener</name>
<value>uk.ac.ebi.utils.test.junit.TestOutputDecorator</value>
</property>
</properties>
<environmentVariables>
<yamlUtils_testName>Dude</yamlUtils_testName>
</environmentVariables>
<forkCount>0.5C</forkCount>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<!-- TODO: the Markdown doclet doesn't work with JDK11 -->
<useStandardDocletOptions>false</useStandardDocletOptions>
<additionalOptions>-Xdoclint:none</additionalOptions>
<!--
TODO: apidocs/ is always appended to this, see
https://issues.apache.org/jira/browse/MJAVADOC-818
-->
<outputDirectory>${project.basedir}/docs</outputDirectory>
</configuration>
</plugin>
</plugins>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<distributionManagement>
<snapshotRepository>
<id>marcobrandizi.info</id>
<url>https://artifactory.marcobrandizi.info/public</url>
</snapshotRepository>
<repository>
<id>marcobrandizi.info</id>
<url>https://artifactory.marcobrandizi.info/public</url>
</repository>
</distributionManagement>
</project>