Skip to content

Commit 5b04cc9

Browse files
committed
Merge branch 'hotfix-1.1.24'
2 parents 60bf4d4 + 60b915b commit 5b04cc9

35 files changed

Lines changed: 2150 additions & 2118 deletions

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pom.xml]
2+
indent_style = tab

pom.xml

Lines changed: 161 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>baseCode</name>
66
<groupId>baseCode</groupId>
77
<artifactId>baseCode</artifactId>
8-
<version>1.1.23</version>
8+
<version>1.1.24</version>
99
<inceptionYear>2003</inceptionYear>
1010
<description>
1111
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
@@ -46,11 +46,14 @@
4646
</developer>
4747
</developers>
4848
<dependencies>
49+
<!-- Excel utilities (optional) -->
4950
<dependency>
5051
<groupId>org.apache.poi</groupId>
5152
<artifactId>poi</artifactId>
52-
<version>5.2.5</version>
53+
<version>5.4.1</version>
54+
<optional>true</optional>
5355
</dependency>
56+
5457
<dependency>
5558
<groupId>colt</groupId>
5659
<artifactId>colt</artifactId>
@@ -61,7 +64,7 @@
6164
<dependency>
6265
<groupId>commons-net</groupId>
6366
<artifactId>commons-net</artifactId>
64-
<version>3.10.0</version>
67+
<version>3.11.1</version>
6568
</dependency>
6669
<dependency>
6770
<groupId>org.apache.commons</groupId>
@@ -71,34 +74,70 @@
7174
<dependency>
7275
<groupId>org.apache.commons</groupId>
7376
<artifactId>commons-configuration2</artifactId>
74-
<version>2.8.0</version>
77+
<version>2.12.0</version>
78+
<exclusions>
79+
<exclusion>
80+
<groupId>org.apache.commons</groupId>
81+
<artifactId>commons-lang3</artifactId>
82+
</exclusion>
83+
</exclusions>
7584
</dependency>
7685
<dependency>
7786
<groupId>org.apache.commons</groupId>
7887
<artifactId>commons-lang3</artifactId>
88+
<!-- 3.15.0 uses a secure random which is extremely slow, see #1194 in Gemma for details -->
7989
<version>3.14.0</version>
8090
</dependency>
8191
<dependency>
8292
<groupId>commons-io</groupId>
8393
<artifactId>commons-io</artifactId>
84-
<version>2.16.1</version>
94+
<version>2.18.0</version>
8595
</dependency>
8696
<dependency>
8797
<groupId>org.apache.commons</groupId>
8898
<artifactId>commons-collections4</artifactId>
8999
<version>4.4</version>
90100
</dependency>
101+
<dependency>
102+
<groupId>commons-codec</groupId>
103+
<artifactId>commons-codec</artifactId>
104+
<version>1.18.0</version>
105+
<scope>runtime</scope>
106+
</dependency>
107+
<dependency>
108+
<groupId>commons-logging</groupId>
109+
<artifactId>commons-logging</artifactId>
110+
<version>1.3.5</version>
111+
<scope>runtime</scope>
112+
</dependency>
113+
<dependency>
114+
<groupId>org.apache.commons</groupId>
115+
<artifactId>commons-csv</artifactId>
116+
<version>1.14.0</version>
117+
</dependency>
91118

92-
<!-- HTTP client -->
119+
<!-- HTTP client (optional, used for AnnotatorClient) -->
93120
<dependency>
94121
<groupId>org.apache.httpcomponents</groupId>
95122
<artifactId>httpcore</artifactId>
96123
<version>4.4.16</version>
124+
<optional>true</optional>
97125
</dependency>
98126
<dependency>
99127
<groupId>org.apache.httpcomponents</groupId>
100128
<artifactId>httpclient</artifactId>
101129
<version>4.5.14</version>
130+
<optional>true</optional>
131+
<exclusions>
132+
<exclusion>
133+
<groupId>commons-logging</groupId>
134+
<artifactId>commons-logging</artifactId>
135+
</exclusion>
136+
<exclusion>
137+
<groupId>commons-codec</groupId>
138+
<artifactId>commons-codec</artifactId>
139+
</exclusion>
140+
</exclusions>
102141
</dependency>
103142

104143
<!-- R engine -->
@@ -131,6 +170,18 @@
131170
<groupId>com.googlecode.matrix-toolkits-java</groupId>
132171
<artifactId>mtj</artifactId>
133172
<version>1.0.4</version>
173+
<exclusions>
174+
<exclusion>
175+
<groupId>com.github.fommil.netlib</groupId>
176+
<artifactId>core</artifactId>
177+
</exclusion>
178+
</exclusions>
179+
</dependency>
180+
<dependency>
181+
<groupId>com.github.fommil.netlib</groupId>
182+
<artifactId>core</artifactId>
183+
<version>1.1.2</version>
184+
<scope>runtime</scope>
134185
</dependency>
135186

136187
<!-- Logging -->
@@ -154,6 +205,61 @@
154205
<groupId>org.slf4j</groupId>
155206
<artifactId>slf4j-log4j12</artifactId>
156207
</exclusion>
208+
<exclusion>
209+
<groupId>org.slf4j</groupId>
210+
<artifactId>slf4j-api</artifactId>
211+
</exclusion>
212+
<exclusion>
213+
<groupId>xerces</groupId>
214+
<artifactId>xercesImpl</artifactId>
215+
</exclusion>
216+
</exclusions>
217+
</dependency>
218+
<dependency>
219+
<groupId>org.apache.jena</groupId>
220+
<artifactId>jena-tdb</artifactId>
221+
<version>1.1.2</version>
222+
<exclusions>
223+
<exclusion>
224+
<groupId>org.slf4j</groupId>
225+
<artifactId>slf4j-api</artifactId>
226+
</exclusion>
227+
<exclusion>
228+
<groupId>org.slf4j</groupId>
229+
<artifactId>slf4j-log4j12</artifactId>
230+
</exclusion>
231+
<exclusion>
232+
<groupId>org.slf4j</groupId>
233+
<artifactId>jcl-over-slf4j</artifactId>
234+
</exclusion>
235+
<exclusion>
236+
<groupId>log4j</groupId>
237+
<artifactId>log4j</artifactId>
238+
</exclusion>
239+
<exclusion>
240+
<groupId>org.apache.commons</groupId>
241+
<artifactId>commons-lang3</artifactId>
242+
</exclusion>
243+
<exclusion>
244+
<groupId>org.apache.thrift</groupId>
245+
<artifactId>libthrift</artifactId>
246+
</exclusion>
247+
<exclusion>
248+
<groupId>org.apache.httpcomponents</groupId>
249+
<artifactId>httpclient</artifactId>
250+
</exclusion>
251+
<exclusion>
252+
<groupId>org.apache.httpcomponents</groupId>
253+
<artifactId>httpclient-cache</artifactId>
254+
</exclusion>
255+
<exclusion>
256+
<groupId>org.apache.commons</groupId>
257+
<artifactId>commons-csv</artifactId>
258+
</exclusion>
259+
<exclusion>
260+
<artifactId>jsonld-java</artifactId>
261+
<groupId>com.github.jsonld-java</groupId>
262+
</exclusion>
157263
</exclusions>
158264
</dependency>
159265

@@ -173,7 +279,7 @@
173279
<dependency>
174280
<groupId>org.jfree</groupId>
175281
<artifactId>jfreechart</artifactId>
176-
<version>1.5.4</version>
282+
<version>1.5.5</version>
177283
</dependency>
178284
<!-- xml-apis is dependent on jena -->
179285
<dependency>
@@ -187,17 +293,6 @@
187293
<artifactId>xercesImpl</artifactId>
188294
<version>2.12.2</version>
189295
</dependency>
190-
<dependency>
191-
<groupId>com.opencsv</groupId>
192-
<artifactId>opencsv</artifactId>
193-
<version>5.9</version>
194-
<exclusions>
195-
<exclusion>
196-
<groupId>commons-beanutils</groupId>
197-
<artifactId>commons-beanutils</artifactId>
198-
</exclusion>
199-
</exclusions>
200-
</dependency>
201296

202297
<!-- Development tools -->
203298
<dependency>
@@ -211,8 +306,14 @@
211306
<dependency>
212307
<groupId>commons-beanutils</groupId>
213308
<artifactId>commons-beanutils</artifactId>
214-
<version>1.9.4</version>
309+
<version>1.10.1</version>
215310
<scope>test</scope>
311+
<exclusions>
312+
<exclusion>
313+
<groupId>commons-logging</groupId>
314+
<artifactId>commons-logging</artifactId>
315+
</exclusion>
316+
</exclusions>
216317
</dependency>
217318
<dependency>
218319
<groupId>junit</groupId>
@@ -223,31 +324,31 @@
223324
<dependency>
224325
<groupId>org.mockito</groupId>
225326
<artifactId>mockito-core</artifactId>
226-
<version>4.11.0</version>
327+
<version>5.15.2</version>
227328
<scope>test</scope>
228329
</dependency>
229330
<dependency>
230331
<groupId>org.assertj</groupId>
231332
<artifactId>assertj-core</artifactId>
232-
<version>3.25.3</version>
333+
<version>3.27.3</version>
233334
<scope>test</scope>
234335
</dependency>
235336
<dependency>
236337
<groupId>org.apache.logging.log4j</groupId>
237338
<artifactId>log4j-api</artifactId>
238-
<version>2.23.1</version>
339+
<version>2.24.3</version>
239340
<scope>test</scope>
240341
</dependency>
241342
<dependency>
242343
<groupId>org.apache.logging.log4j</groupId>
243344
<artifactId>log4j-core</artifactId>
244-
<version>2.23.1</version>
345+
<version>2.24.3</version>
245346
<scope>test</scope>
246347
</dependency>
247348
<dependency>
248349
<groupId>org.apache.logging.log4j</groupId>
249350
<artifactId>log4j-slf4j-impl</artifactId>
250-
<version>2.23.1</version>
351+
<version>2.24.3</version>
251352
<scope>test</scope>
252353
</dependency>
253354
</dependencies>
@@ -307,6 +408,10 @@
307408
<requireMavenVersion>
308409
<version>[3.0.5,)</version>
309410
</requireMavenVersion>
411+
<requireJavaVersion>
412+
<version>[1.8,)</version>
413+
</requireJavaVersion>
414+
<dependencyConvergence/>
310415
</rules>
311416
</configuration>
312417
</execution>
@@ -497,12 +602,12 @@
497602
<repository>
498603
<id>pavlab</id>
499604
<name>PavLab</name>
500-
<url>scpexe://frink.msl.ubc.ca/space/maven2</url>
605+
<url>scpexe://${pavlab.server}${pavlab.repoDir}</url>
501606
</repository>
502607
<site>
503608
<id>pavlab</id>
504609
<name>PavLab</name>
505-
<url>scpexe://frink.msl.ubc.ca/space/web/maven-sites/${project.groupId}/${project.artifactId}-${project.version}</url>
610+
<url>scpexe://${pavlab.server}${pavlab.siteDir}/${project.groupId}/${project.artifactId}-${project.version}</url>
506611
</site>
507612
</distributionManagement>
508613
<pluginRepositories>
@@ -561,20 +666,48 @@
561666
<repository>
562667
<id>pavlab</id>
563668
<name>PavLab</name>
564-
<url>file:///space/maven2</url>
669+
<url>file://${pavlab.repoDir}}</url>
565670
</repository>
566671
<site>
567672
<id>pavlab</id>
568673
<name>PavLab</name>
569-
<url>file:///space/web/maven-sites/${project.groupId}/${project.artifactId}-${project.version}</url>
674+
<url>file://${pavlab.siteDir}/${project.groupId}/${project.artifactId}-${project.version}</url>
570675
</site>
571676
</distributionManagement>
572677
</profile>
678+
<profile>
679+
<id>depcheck</id>
680+
<build>
681+
<plugins>
682+
<plugin>
683+
<groupId>org.codehaus.mojo</groupId>
684+
<artifactId>versions-maven-plugin</artifactId>
685+
<version>2.17.1</version>
686+
<configuration>
687+
<allowMajorUpdates>false</allowMajorUpdates>
688+
<ignoredVersions>.*-a.*,.*-b.*,.*-M.*</ignoredVersions>
689+
</configuration>
690+
</plugin>
691+
</plugins>
692+
</build>
693+
</profile>
694+
<profile>
695+
<id>java9</id>
696+
<activation>
697+
<jdk>(9,</jdk>
698+
</activation>
699+
<properties>
700+
<maven.compiler.release>8</maven.compiler.release>
701+
</properties>
702+
</profile>
573703
</profiles>
574704
<properties>
575705
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
576706
<maven.compiler.source>8</maven.compiler.source>
577707
<maven.compiler.target>8</maven.compiler.target>
708+
<pavlab.server>frink.pavlab.msl.ubc.ca</pavlab.server>
709+
<pavlab.repoDir>/space/maven2</pavlab.repoDir>
710+
<pavlab.siteDir>/space/web/maven-sites</pavlab.siteDir>
578711
<lucene.version>3.6.2</lucene.version>
579712
</properties>
580713
</project>

src/basecode.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ load.mammalPhenotypeOntology=false
99
load.humanPhenotypeOntology=false
1010
load.obiOntology=false
1111
load.seqOntology=false
12+
load.medicOntology=false
1213
load.nifstdOntology=false
1314
load.experimentalFactorOntology=false
1415
load.uberonOntology=false

0 commit comments

Comments
 (0)