Skip to content

Commit e0bae64

Browse files
committed
Add missing javax dependencies for Java > 8
1 parent 314f18a commit e0bae64

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/pom.mustache

+5
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@
9494
<artifactId>springfox-swagger-ui</artifactId>
9595
<version>${springfox-version}</version>
9696
</dependency>
97+
<dependency>
98+
<groupId>javax.xml.bind</groupId>
99+
<artifactId>jaxb-api</artifactId>
100+
<version>2.2.11</version>
101+
</dependency>
97102
{{/useSpringfox}}
98103
{{^useSpringfox}}
99104
<dependency>

modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-mvc/pom.mustache

+10
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@
137137
<artifactId>spring-web</artifactId>
138138
<version>${spring-version}</version>
139139
</dependency>
140+
<dependency>
141+
<groupId>javax.annotation</groupId>
142+
<artifactId>javax.annotation-api</artifactId>
143+
<version>1.3.2</version>
144+
</dependency>
145+
<dependency>
146+
<groupId>javax.xml.bind</groupId>
147+
<artifactId>jaxb-api</artifactId>
148+
<version>2.2.11</version>
149+
</dependency>
140150
{{#useSpringfox}}
141151
<!--SpringFox dependencies-->
142152
<dependency>

0 commit comments

Comments
 (0)