Skip to content

Commit fee90f1

Browse files
committed
Hack to force jackson-databind in Travis tests
1 parent a0ade61 commit fee90f1

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jdk:
1818
env:
1919
global:
2020
- secure: KXF3RVBZDxeASAnleYlTaqvxRRB9FSzSAdVV9h7Kw81+p4UO64b8CPJR1p4fLIVwAp8C4R8h0xZDN3pAv/iyeA4ndIeh9tQXNZBm737RE5x+6x6nf/shP/Em1w9T1s3KmretXoTFK5NJGv2yTesgaIAV/JV1OFvlG6ArswhrPFc=
21-
install: mvn install -DskipTests=true -Dgpg.skip=true
21+
install: mvn install -DskipTests=true -Dgpg.skip=true -Djackson-databind.version=2.7.3
22+
script: mvn test -Djackson-databind.version=2.7.3
2223
after_script: mvn cobertura:cobertura coveralls:cobertura
2324
notifications:
2425
email:

pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
<email>[email protected]</email>
3636
</developer>
3737
</developers>
38+
<properties>
39+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40+
<jackson-databind.version>[2.7.0,)</jackson-databind.version>
41+
</properties>
3842
<dependencies>
3943
<dependency>
4044
<groupId>junit</groupId>
@@ -45,12 +49,9 @@
4549
<dependency>
4650
<groupId>com.fasterxml.jackson.core</groupId>
4751
<artifactId>jackson-databind</artifactId>
48-
<version>[2.7.0,)</version>
52+
<version>${jackson-databind.version}</version>
4953
</dependency>
5054
</dependencies>
51-
<properties>
52-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
53-
</properties>
5455
<build>
5556
<plugins>
5657
<plugin>
@@ -128,7 +129,7 @@
128129
<plugin>
129130
<groupId>org.codehaus.mojo</groupId>
130131
<artifactId>versions-maven-plugin</artifactId>
131-
<version>2.1</version>
132+
<version>2.2</version>
132133
</plugin>
133134
</plugins>
134135
</build>

0 commit comments

Comments
 (0)