Skip to content

Commit f42ee6e

Browse files
committed
Update dependencies and fix pom.xml
1 parent fedce29 commit f42ee6e

14 files changed

Lines changed: 186 additions & 257 deletions

File tree

pom.xml

Lines changed: 75 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<name>baseCode</name>
66
<groupId>baseCode</groupId>
77
<artifactId>baseCode</artifactId>
88
<version>1.0.32-SNAPSHOT</version>
99
<inceptionYear>2003</inceptionYear>
1010
<description>
11-
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
11+
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
1212
</description>
1313
<url>https://github.com/pavlidisLab/basecode</url>
1414
<organization>
@@ -43,112 +43,108 @@
4343
<dependency>
4444
<groupId>org.apache.poi</groupId>
4545
<artifactId>poi</artifactId>
46-
<version>3.9</version>
46+
<version>5.0.0</version>
4747
</dependency>
4848
<dependency>
4949
<groupId>colt</groupId>
5050
<artifactId>colt</artifactId>
5151
<version>1.2.0</version>
5252
</dependency>
53-
<dependency>
54-
<groupId>xerces</groupId>
55-
<artifactId>xercesImpl</artifactId>
56-
<version>2.11.0</version>
57-
</dependency>
53+
54+
<!-- Apache Commons -->
5855
<dependency>
5956
<groupId>commons-net</groupId>
6057
<artifactId>commons-net</artifactId>
61-
<version>3.1</version>
58+
<version>3.8.0</version>
6259
</dependency>
6360
<dependency>
6461
<groupId>org.apache.commons</groupId>
6562
<artifactId>commons-math3</artifactId>
66-
<version>3.2</version>
63+
<version>3.6.1</version>
6764
</dependency>
6865
<dependency>
69-
<groupId>commons-configuration</groupId>
70-
<artifactId>commons-configuration</artifactId>
71-
<!-- special private build of snapshot until 2.0 is released officially -->
72-
<version>2.0-RCT</version>
73-
<exclusions>
74-
<exclusion>
75-
<groupId>javax.servlet</groupId>
76-
<artifactId>servlet-api</artifactId>
77-
</exclusion>
78-
</exclusions>
66+
<groupId>org.apache.commons</groupId>
67+
<artifactId>commons-configuration2</artifactId>
68+
<version>2.7</version>
7969
</dependency>
8070
<dependency>
81-
<groupId>commons-beanutils</groupId>
82-
<artifactId>commons-beanutils</artifactId>
83-
<version>1.8.3</version>
84-
<!-- needed by commons-configuration -->
85-
<scope>runtime</scope>
71+
<groupId>org.apache.commons</groupId>
72+
<artifactId>commons-lang3</artifactId>
73+
<version>3.12.0</version>
8674
</dependency>
8775
<dependency>
88-
<groupId>commons-collections</groupId>
89-
<artifactId>commons-collections</artifactId>
90-
<version>3.2.1</version>
76+
<groupId>commons-io</groupId>
77+
<artifactId>commons-io</artifactId>
78+
<version>2.11.0</version>
9179
</dependency>
9280
<dependency>
9381
<groupId>org.apache.commons</groupId>
94-
<artifactId>commons-lang3</artifactId>
95-
<version>3.1</version>
82+
<artifactId>commons-collections4</artifactId>
83+
<version>4.4</version>
84+
</dependency>
85+
86+
<!-- HTTP client -->
87+
<dependency>
88+
<groupId>org.apache.httpcomponents</groupId>
89+
<artifactId>httpcore</artifactId>
90+
<version>4.4.14</version>
9691
</dependency>
9792
<dependency>
98-
<groupId>commons-dbcp</groupId>
99-
<artifactId>commons-dbcp</artifactId>
100-
<version>1.4</version>
93+
<groupId>org.apache.httpcomponents</groupId>
94+
<artifactId>httpclient</artifactId>
95+
<version>4.5.13</version>
96+
</dependency>
97+
98+
<!-- R engine -->
99+
<dependency>
100+
<groupId>org.rosuda.REngine</groupId>
101+
<artifactId>REngine</artifactId>
102+
<version>2.1.0</version>
101103
</dependency>
102104
<dependency>
103-
<groupId>net.rforge</groupId>
105+
<groupId>org.rosuda.REngine</groupId>
104106
<artifactId>Rserve</artifactId>
105-
<version>0.6-8.1</version>
107+
<version>1.8.1</version>
106108
<optional>true</optional>
107109
</dependency>
110+
<!-- JRI is the engine implementation -->
108111
<dependency>
109112
<groupId>RoSuDA</groupId>
110113
<artifactId>JRI</artifactId>
111114
<version>0.5-0</version>
112-
<optional>true</optional>
115+
<scope>runtime</scope>
113116
</dependency>
114117
<dependency>
115118
<groupId>RoSuDA</groupId>
116119
<artifactId>JRIEngine</artifactId>
117120
<version>0.5-0</version>
118121
</dependency>
122+
123+
<!-- Sparse matrix library; lapack -->
119124
<dependency>
120-
<groupId>net.sf.opencsv</groupId>
121-
<artifactId>opencsv</artifactId>
122-
<version>2.3</version>
123-
</dependency>
124-
<dependency><!-- Sparse matrix library; lapack -->
125125
<groupId>com.googlecode.matrix-toolkits-java</groupId>
126126
<artifactId>mtj</artifactId>
127-
<version>0.9.14</version>
127+
<version>1.0.4</version>
128128
</dependency>
129-
<dependency><!-- lapack -->
130-
<groupId>com.googlecode.netlib-java</groupId>
131-
<artifactId>netlib-java</artifactId>
132-
<version>0.9.3</version>
129+
<dependency>
130+
<groupId>net.sourceforge.f2j</groupId>
131+
<artifactId>arpack_combined_all</artifactId>
132+
<version>0.1</version>
133133
</dependency>
134+
135+
<!-- Logging -->
134136
<dependency>
135137
<groupId>org.slf4j</groupId>
136138
<artifactId>slf4j-api</artifactId>
137-
<version>1.7.5</version>
139+
<version>1.7.32</version>
138140
</dependency>
139-
<!-- <dependency> <groupId>netlib-java</groupId> <artifactId>arpack-combo</artifactId> <version>0.1</version> <type>jar</type>
140-
</dependency> lapack -->
141+
142+
<!-- Jena -->
141143
<dependency>
142-
<groupId>org.slf4j</groupId>
143-
<artifactId>slf4j-log4j12</artifactId>
144-
<version>1.7.5</version>
145-
<scope>test</scope>
144+
<groupId>org.apache.jena</groupId>
145+
<artifactId>jena-core</artifactId>
146+
<version>2.7.4</version>
146147
</dependency>
147-
<!--java 8 only <dependency>
148-
<groupId>net.sourceforge.jdistlib</groupId>
149-
<artifactId>jdistlib</artifactId>
150-
<version>0.4.5</version>
151-
</dependency>-->
152148
<!-- Be careful with versions of lucene -->
153149
<!-- jena-text uses lucene 4.x.. Not ready for this. -->
154150
<!-- <dependency> <groupId>org.apache.jena</groupId> <artifactId>jena-text</artifactId> <version>1.0.0-SNAPSHOT</version>
@@ -157,108 +153,50 @@
157153
<groupId>org.apache.jena</groupId>
158154
<artifactId>jena-larq</artifactId>
159155
<version>1.0.0-incubating</version>
160-
<exclusions>
161-
<exclusion>
162-
<artifactId>slf4j-log4j12</artifactId>
163-
<groupId>org.slf4j</groupId>
164-
</exclusion>
165-
</exclusions>
166-
</dependency>
167-
<dependency>
168-
<groupId>log4j</groupId>
169-
<artifactId>log4j</artifactId>
170-
<version>1.2.17</version>
171-
<scope>test</scope>
172-
</dependency>
173-
<dependency>
174-
<groupId>org.slf4j</groupId>
175-
<artifactId>jcl-over-slf4j</artifactId>
176-
<version>1.7.5</version>
177-
</dependency>
178-
<dependency>
179-
<groupId>commons-logging</groupId>
180-
<artifactId>commons-logging</artifactId>
181-
<version>1.2</version>
182156
</dependency>
183157
<dependency>
184158
<groupId>org.apache.jena</groupId>
185159
<artifactId>jena-arq</artifactId>
186160
<version>2.9.4</version> <!-- latest release is 2.10.1, but not compatible with larq? -->
187-
<exclusions>
188-
<exclusion>
189-
<artifactId>slf4j-log4j12</artifactId>
190-
<groupId>org.slf4j</groupId>
191-
</exclusion>
192-
<exclusion>
193-
<artifactId>httpclient</artifactId>
194-
<groupId>org.apache.httpcomponents</groupId>
195-
</exclusion>
196-
<exclusion>
197-
<artifactId>httpcore</artifactId>
198-
<groupId>org.apache.httpcomponents</groupId>
199-
</exclusion>
200-
</exclusions>
201161
</dependency>
162+
163+
<!-- Lucene -->
202164
<dependency>
203165
<groupId>org.apache.lucene</groupId>
204166
<artifactId>lucene-core</artifactId>
205-
<version>3.6.2</version>
206-
</dependency>
207-
<dependency>
208-
<groupId>org.apache.lucene</groupId>
209-
<artifactId>lucene-queryparser</artifactId>
210-
<version>3.6.2</version>
167+
<version>${lucene.version}</version>
211168
</dependency>
212169
<dependency>
213170
<groupId>org.apache.lucene</groupId>
214171
<artifactId>lucene-analyzers</artifactId>
215-
<version>3.6.2</version>
172+
<version>${lucene.version}</version>
216173
</dependency>
174+
175+
<!-- Utilities -->
217176
<dependency>
218177
<groupId>jfree</groupId>
219178
<artifactId>jfreechart</artifactId>
220179
<version>1.0.13</version>
221180
</dependency>
181+
<!-- xml-apis is dependent on jena -->
222182
<dependency>
223-
<groupId>jfree</groupId>
224-
<artifactId>jcommon</artifactId>
225-
<version>1.0.16</version>
183+
<groupId>xml-apis</groupId>
184+
<artifactId>xml-apis</artifactId>
185+
<version>1.4.01</version>
226186
</dependency>
227187
<dependency>
228-
<groupId>org.apache.httpcomponents</groupId>
229-
<artifactId>fluent-hc</artifactId>
230-
<version>4.2.5</version>
188+
<groupId>com.opencsv</groupId>
189+
<artifactId>opencsv</artifactId>
190+
<version>5.5.2</version>
231191
</dependency>
192+
193+
<!-- Testing utilities -->
232194
<dependency>
233195
<groupId>junit</groupId>
234196
<artifactId>junit</artifactId>
235-
<version>4.8.2</version>
197+
<version>4.13.2</version>
236198
<scope>test</scope>
237199
</dependency>
238-
<dependency>
239-
<groupId>mysql</groupId>
240-
<artifactId>mysql-connector-java</artifactId>
241-
<version>5.1.10</version>
242-
<scope>runtime</scope>
243-
<optional>true</optional>
244-
</dependency>
245-
<dependency>
246-
<groupId>commons-io</groupId>
247-
<artifactId>commons-io</artifactId>
248-
<version>2.4</version>
249-
</dependency>
250-
<dependency>
251-
<groupId>org.hsqldb</groupId>
252-
<artifactId>hsqldb</artifactId>
253-
<version>2.3.0</version>
254-
<scope>test</scope>
255-
</dependency>
256-
<dependency>
257-
<groupId>commons-codec</groupId>
258-
<artifactId>commons-codec</artifactId>
259-
<version>1.8</version>
260-
</dependency>
261-
262200
</dependencies>
263201
<build>
264202
<directory>target</directory>
@@ -320,8 +258,8 @@
320258
<artifactId>maven-compiler-plugin</artifactId>
321259
<version>3.8.1</version>
322260
<configuration>
323-
<source>1.7</source>
324-
<target>1.7</target>
261+
<source>1.8</source>
262+
<target>1.8</target>
325263
</configuration>
326264
</plugin>
327265
<plugin>
@@ -360,6 +298,7 @@
360298
<version>2.7</version>
361299
<configuration>
362300
<outputDirectory>${cobertura.outputDirectory}</outputDirectory>
301+
<check/>
363302
</configuration>
364303
</plugin>
365304
</plugins>
@@ -398,8 +337,7 @@
398337
<version>3.3.0</version>
399338
<configuration>
400339
<quiet>true</quiet>
401-
<aggregate>false</aggregate>
402-
<source>7</source>
340+
<source>8</source>
403341
<doclint>none</doclint>
404342
</configuration>
405343
</plugin>
@@ -429,9 +367,6 @@
429367
<groupId>org.apache.maven.plugins</groupId>
430368
<artifactId>maven-surefire-report-plugin</artifactId>
431369
<version>2.22.2</version>
432-
<configuration>
433-
<argLine>-Xmx1024m</argLine>
434-
</configuration>
435370
</plugin>
436371
<plugin>
437372
<groupId>org.apache.maven.plugins</groupId>
@@ -563,5 +498,6 @@
563498
</profiles>
564499
<properties>
565500
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
501+
<lucene.version>3.6.2</lucene.version>
566502
</properties>
567503
</project>

src/ubic/basecode/dataStructure/matrix/SparseRaggedDoubleMatrix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import java.util.List;
2323
import java.util.Vector;
2424

25-
import org.apache.commons.collections.CollectionUtils;
25+
import org.apache.commons.collections4.CollectionUtils;
2626
import org.apache.commons.lang3.ArrayUtils;
2727

2828
import cern.colt.list.DoubleArrayList;

0 commit comments

Comments
 (0)