Skip to content

Commit d69e963

Browse files
committed
Restore Java 11+ compatibility
1 parent 7c60692 commit d69e963

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

ocpp-common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
dependencies {
66
compile 'org.slf4j:slf4j-api:2.0.17'
77
compile 'ch.qos.logback:logback-classic:1.3.16'
8+
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
89

910
testCompile 'junit:junit:4.13.2'
1011
testCompile 'org.mockito:mockito-core:4.11.0'

ocpp-common/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
</distributionManagement>
4747

4848
<dependencies>
49+
<dependency>
50+
<groupId>javax.xml.bind</groupId>
51+
<artifactId>jaxb-api</artifactId>
52+
<version>2.3.1</version>
53+
</dependency>
54+
4955
<!-- Logging -->
5056
<dependency>
5157
<groupId>org.slf4j</groupId>

ocpp-v1_6-soap/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
dependencies {
66
compile project(':ocpp16')
7-
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
87
compile group: 'javax.xml.soap', name: 'javax.xml.soap-api', version: '1.4.0'
98

109
testCompile 'junit:junit:4.13.2'

ocpp-v1_6-soap/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@
5252
<artifactId>ocpp16</artifactId>
5353
<version>2.0.0</version>
5454
</dependency>
55-
<dependency>
56-
<groupId>javax.xml.bind</groupId>
57-
<artifactId>jaxb-api</artifactId>
58-
<version>2.3.1</version>
59-
</dependency>
6055
<dependency>
6156
<groupId>javax.xml.soap</groupId>
6257
<artifactId>javax.xml.soap-api</artifactId>

0 commit comments

Comments
 (0)