Skip to content

Commit 289947f

Browse files
authored
Feature/update more dependencies (#342)
* Restlet 2.3.7, AWS, jersey Jackson update * org.codehaus.jackson still used by some dependencies instead of com.fasterxml.jackson * Make zip64 library more standard by using commons-compress instead of odd rare library * can now use standard Linux tools like unzip to view bundles * New tools are still compatible with old bundles
1 parent a65e49e commit 289947f

File tree

20 files changed

+518
-341
lines changed

20 files changed

+518
-341
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ When this is complete:
9494
(This runs all unit tests and integration tests that only require postgres as a prerequisite)
9595
mvn clean install -DskipITs=false -P extITs,embeddedTomcat
9696
(runs all unit tests and all integration tests including those that require Oozie)
97-
mvn clean install -DskipITs=false -P allITs,embeddedTomcat
98-
(runs all unit tests and all integration tests including those that require Oozie or take longer than can fix on Travis-CI)
97+
mvn clean install -DskipITs=false -P longITs,embeddedTomcat
98+
(runs all unit tests and just the long integration tests that take longer than can run on Travis-CI)
9999

100100
In the last case, the extended integration tests profile is used to trigger integration tests that run our command line utilities.
101101
In order to point your command-line tools at the web service brought up by the integration tests, you will need to comment out your crontab and modify your SeqWare ~/.seqware/settings to include:

pom.xml

+80-28
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<seqware_meta_db_host>localhost</seqware_meta_db_host>
2222

2323
<!-- while merging com.amazonaws.services.s3.transfer.MultipleFileUpload , I couldn't compile without setting a version here -->
24-
<aws-java-sdk.version>1.10.77</aws-java-sdk.version>
25-
<jackson.version>1.9.13</jackson.version>
24+
<aws-java-sdk.version>1.11.15</aws-java-sdk.version>
25+
<jackson.version>2.4.4</jackson.version>
2626
<spring.version>4.2.6.RELEASE</spring.version>
2727
<hibernate.version>5.1.0.Final</hibernate.version>
2828
<hibernate.jpa.version>1.0.0.Final</hibernate.jpa.version>
@@ -35,7 +35,7 @@
3535
<commons-exec.version>1.3</commons-exec.version>
3636
<postgresql.version>9.4-1201-jdbc41</postgresql.version>
3737
<guava.version>19.0</guava.version>
38-
<restlet.version>2.2.2</restlet.version>
38+
<restlet.version>2.3.7</restlet.version>
3939
<opencsv.version>2.3</opencsv.version>
4040
<maven-assembly-plugin.version>2.6</maven-assembly-plugin.version>
4141
<jetty-maven-plugin.version>6.1.26</jetty-maven-plugin.version>
@@ -59,6 +59,8 @@
5959
<powermock.version>1.6.5</powermock.version>
6060
<findbugs.version>3.0.3</findbugs.version>
6161
<maven-pmd-plugin.version>3.6</maven-pmd-plugin.version>
62+
<slf4j.version>1.7.21</slf4j.version>
63+
<old-jersey.version>1.19.1</old-jersey.version>
6264

6365
<skipITs>true</skipITs>
6466
<!-- Needs to be set for memory issues, but must be overrideable from the command line for Bionimbus for unknown reasons -->
@@ -196,22 +198,22 @@
196198
<dependency>
197199
<groupId>org.slf4j</groupId>
198200
<artifactId>slf4j-api</artifactId>
199-
<version>1.7.6</version>
201+
<version>${slf4j.version}</version>
200202
</dependency>
201203
<dependency>
202204
<groupId>org.slf4j</groupId>
203205
<artifactId>slf4j-log4j12</artifactId>
204-
<version>1.7.6</version>
206+
<version>${slf4j.version}</version>
205207
</dependency>
206208
<dependency>
207209
<groupId>org.slf4j</groupId>
208210
<artifactId>jul-to-slf4j</artifactId>
209-
<version>1.7.6</version>
211+
<version>${slf4j.version}</version>
210212
</dependency>
211213
<dependency>
212214
<groupId>org.slf4j</groupId>
213215
<artifactId>jcl-over-slf4j</artifactId>
214-
<version>1.7.6</version>
216+
<version>${slf4j.version}</version>
215217
</dependency>
216218
<dependency>
217219
<groupId>log4j</groupId>
@@ -229,9 +231,20 @@
229231
<version>4.1</version>
230232
</dependency>
231233
<dependency>
232-
<groupId>ch.enterag</groupId>
233-
<artifactId>zip64</artifactId>
234-
<version>1.03</version>
234+
<groupId>commons-collections</groupId>
235+
<artifactId>commons-collections</artifactId>
236+
<version>3.2.1</version>
237+
</dependency>
238+
<dependency>
239+
<groupId>commons-digester</groupId>
240+
<artifactId>commons-digester</artifactId>
241+
<version>1.8</version>
242+
</dependency>
243+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
244+
<dependency>
245+
<groupId>org.apache.commons</groupId>
246+
<artifactId>commons-compress</artifactId>
247+
<version>1.12</version>
235248
</dependency>
236249
<dependency>
237250
<groupId>commons-dbutils</groupId>
@@ -377,26 +390,44 @@
377390
</exclusions>
378391
</dependency>
379392

393+
<!-- enforce for dependencies but replaced by com.fasterxml.jackson in our code -->
394+
<dependency>
395+
<groupId>org.codehaus.jackson</groupId>
396+
<artifactId>jackson-mapper-asl</artifactId>
397+
<version>1.9.13</version>
398+
</dependency>
380399
<dependency>
381400
<groupId>org.codehaus.jackson</groupId>
382401
<artifactId>jackson-core-asl</artifactId>
402+
<version>1.9.13</version>
403+
</dependency>
404+
405+
<dependency>
406+
<groupId>com.fasterxml.jackson.core</groupId>
407+
<artifactId>jackson-annotations</artifactId>
383408
<version>${jackson.version}</version>
384409
</dependency>
410+
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
385411
<dependency>
386-
<groupId>org.codehaus.jackson</groupId>
387-
<artifactId>jackson-mapper-asl</artifactId>
412+
<groupId>com.fasterxml.jackson.core</groupId>
413+
<artifactId>jackson-databind</artifactId>
388414
<version>${jackson.version}</version>
389415
</dependency>
390416
<dependency>
391-
<groupId>org.codehaus.jackson</groupId>
392-
<artifactId>jackson-jaxrs</artifactId>
417+
<groupId>com.fasterxml.jackson.core</groupId>
418+
<artifactId>jackson-core</artifactId>
393419
<version>${jackson.version}</version>
394420
</dependency>
395421
<dependency>
396-
<groupId>org.codehaus.jackson</groupId>
397-
<artifactId>jackson-xc</artifactId>
422+
<groupId>com.fasterxml.jackson.dataformat</groupId>
423+
<artifactId>jackson-dataformat-yaml</artifactId>
398424
<version>${jackson.version}</version>
399425
</dependency>
426+
<dependency>
427+
<groupId>org.yaml</groupId>
428+
<artifactId>snakeyaml</artifactId>
429+
<version>1.17</version>
430+
</dependency>
400431

401432
<dependency>
402433
<groupId>org.springframework</groupId>
@@ -576,7 +607,7 @@
576607
<dependency>
577608
<groupId>org.codehaus.woodstox</groupId>
578609
<artifactId>stax2-api</artifactId>
579-
<version>3.1.3</version>
610+
<version>3.1.4</version>
580611
</dependency>
581612
<dependency>
582613
<groupId>xml-apis</groupId>
@@ -698,32 +729,32 @@
698729
<dependency>
699730
<groupId>com.sun.jersey</groupId>
700731
<artifactId>jersey-json</artifactId>
701-
<version>1.11.1</version>
732+
<version>${old-jersey.version}</version>
702733
</dependency>
703734
<dependency>
704735
<groupId>com.sun.jersey.contribs</groupId>
705736
<artifactId>jersey-moxy</artifactId>
706-
<version>1.11.1</version>
737+
<version>${old-jersey.version}</version>
707738
</dependency>
708739
<dependency>
709740
<groupId>com.sun.jersey.glassfish.v3.osgi</groupId>
710741
<artifactId>jersey-gf-server</artifactId>
711-
<version>1.11.1</version>
742+
<version>${old-jersey.version}</version>
712743
</dependency>
713744
<dependency>
714745
<groupId>com.sun.jersey</groupId>
715746
<artifactId>jersey-client</artifactId>
716-
<version>1.11.1</version>
747+
<version>${old-jersey.version}</version>
717748
</dependency>
718749
<dependency>
719750
<groupId>com.sun.jersey</groupId>
720751
<artifactId>jersey-grizzly</artifactId>
721-
<version>1.11.1</version>
752+
<version>${old-jersey.version}</version>
722753
</dependency>
723754
<dependency>
724755
<groupId>com.sun.jersey.glassfish.v3.osgi</groupId>
725756
<artifactId>jersey-gf-statsproviders</artifactId>
726-
<version>1.11.1</version>
757+
<version>${old-jersey.version}</version>
727758
</dependency>
728759
<dependency>
729760
<groupId>org.glassfish.hk2.external</groupId>
@@ -733,7 +764,7 @@
733764
<dependency>
734765
<groupId>com.sun.jersey.glassfish.v3.osgi</groupId>
735766
<artifactId>jersey-gf-servlet</artifactId>
736-
<version>1.11.1</version>
767+
<version>${old-jersey.version}</version>
737768
</dependency>
738769
<dependency>
739770
<groupId>org.codehaus.jettison</groupId>
@@ -743,17 +774,17 @@
743774
<dependency>
744775
<groupId>org.jvnet.mimepull</groupId>
745776
<artifactId>mimepull</artifactId>
746-
<version>1.8</version>
777+
<version>1.9.3</version>
747778
</dependency>
748779
<dependency>
749780
<groupId>com.sun.jersey.contribs</groupId>
750781
<artifactId>jersey-multipart</artifactId>
751-
<version>1.11.1</version>
782+
<version>${old-jersey.version}</version>
752783
</dependency>
753784
<dependency>
754785
<groupId>com.sun.jersey</groupId>
755786
<artifactId>jersey-core</artifactId>
756-
<version>1.11.1</version>
787+
<version>${old-jersey.version}</version>
757788
</dependency>
758789
<dependency>
759790
<groupId>junit</groupId>
@@ -831,7 +862,7 @@
831862
<dependency>
832863
<groupId>com.google.code.gson</groupId>
833864
<artifactId>gson</artifactId>
834-
<version>2.6.2</version>
865+
<version>2.7</version>
835866
</dependency>
836867
<dependency>
837868
<groupId>joda-time</groupId>
@@ -856,6 +887,27 @@
856887
<artifactId>commons-beanutils</artifactId>
857888
<version>1.9.2</version>
858889
</dependency>
890+
891+
<dependency>
892+
<groupId>asm</groupId>
893+
<artifactId>asm</artifactId>
894+
<version>3.3.1</version>
895+
</dependency>
896+
897+
<!-- explicitly define dependency to version 0.8.11 -->
898+
<dependency>
899+
<groupId>org.raml</groupId>
900+
<artifactId>raml-parser</artifactId>
901+
<version>0.8.14</version>
902+
</dependency>
903+
904+
<!-- https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305 -->
905+
<dependency>
906+
<groupId>com.google.code.findbugs</groupId>
907+
<artifactId>jsr305</artifactId>
908+
<version>3.0.0</version>
909+
</dependency>
910+
859911
</dependencies>
860912
</dependencyManagement>
861913

seqware-admin-webservice/pom.xml

+15-5
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,22 @@
6565
<artifactId>jersey-client</artifactId>
6666
<type>jar</type>
6767
</dependency>
68+
<dependency>
69+
<groupId>javax.ws.rs</groupId>
70+
<artifactId>jsr311-api</artifactId>
71+
<version>1.1.1</version>
72+
</dependency>
73+
<!--
6874
<dependency>
6975
<groupId>com.sun.jersey</groupId>
7076
<artifactId>jersey-core</artifactId>
7177
</dependency>
78+
-->
7279
<dependency>
7380
<groupId>${project.groupId}</groupId>
7481
<artifactId>seqware-meta-db</artifactId>
7582
<version>${project.version}</version>
7683
</dependency>
77-
<dependency>
78-
<artifactId>jackson-core-asl</artifactId>
79-
<groupId>org.codehaus.jackson</groupId>
80-
<type>jar</type>
81-
</dependency>
8284
<dependency>
8385
<artifactId>jaxb-api</artifactId>
8486
<groupId>javax.xml.bind</groupId>
@@ -124,6 +126,14 @@
124126
<type>jar</type>
125127
<scope>runtime</scope>
126128
</dependency>
129+
130+
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
131+
<dependency>
132+
<groupId>com.fasterxml.jackson.core</groupId>
133+
<artifactId>jackson-annotations</artifactId>
134+
<version>${jackson.version}</version>
135+
</dependency>
136+
127137
</dependencies>
128138

129139
<build>

seqware-admin-webservice/src/main/java/io/seqware/webservice/generated/model/File.java

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
*/
55
package io.seqware.webservice.generated.model;
66

7-
import java.io.Serializable;
8-
import java.math.BigInteger;
9-
import java.util.Collection;
7+
import com.fasterxml.jackson.annotation.JsonIgnore;
8+
109
import javax.persistence.Basic;
1110
import javax.persistence.CascadeType;
1211
import javax.persistence.Column;
@@ -26,7 +25,9 @@
2625
import javax.validation.constraints.Size;
2726
import javax.xml.bind.annotation.XmlRootElement;
2827
import javax.xml.bind.annotation.XmlTransient;
29-
import org.codehaus.jackson.annotate.JsonIgnore;
28+
import java.io.Serializable;
29+
import java.math.BigInteger;
30+
import java.util.Collection;
3031

3132
/**
3233
*

seqware-admin-webservice/src/main/java/io/seqware/webservice/generated/model/WorkflowRun.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
*/
55
package io.seqware.webservice.generated.model;
66

7-
import java.io.Serializable;
8-
import java.sql.Timestamp;
9-
import java.util.Collection;
10-
import java.util.Date;
7+
import com.fasterxml.jackson.annotation.JsonIgnore;
8+
119
import javax.persistence.Basic;
1210
import javax.persistence.CascadeType;
1311
import javax.persistence.Column;
@@ -30,7 +28,10 @@
3028
import javax.validation.constraints.Size;
3129
import javax.xml.bind.annotation.XmlRootElement;
3230
import javax.xml.bind.annotation.XmlTransient;
33-
import org.codehaus.jackson.annotate.JsonIgnore;
31+
import java.io.Serializable;
32+
import java.sql.Timestamp;
33+
import java.util.Collection;
34+
import java.util.Date;
3435

3536
/**
3637
*

seqware-common/pom.xml

+3-7
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,10 @@
180180
<artifactId>org.restlet.ext.jsslutils</artifactId>
181181
<scope>runtime</scope>
182182
</dependency>
183+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
183184
<dependency>
184-
<groupId>ch.enterag</groupId>
185-
<artifactId>zip64</artifactId>
185+
<groupId>org.apache.commons</groupId>
186+
<artifactId>commons-compress</artifactId>
186187
</dependency>
187188
<dependency>
188189
<groupId>net.sf.jopt-simple</groupId>
@@ -243,11 +244,6 @@
243244
<groupId>com.amazonaws</groupId>
244245
<artifactId>aws-java-sdk-core</artifactId>
245246
</dependency>
246-
<dependency>
247-
<groupId>org.codehaus.jackson</groupId>
248-
<artifactId>jackson-core-asl</artifactId>
249-
<scope>runtime</scope>
250-
</dependency>
251247
<dependency>
252248
<groupId>commons-codec</groupId>
253249
<artifactId>commons-codec</artifactId>

0 commit comments

Comments
 (0)