|
6 | 6 |
|
7 | 7 | <groupId>com.xdev-software</groupId> |
8 | 8 | <artifactId>sched-java-client</artifactId> |
9 | | - <version>1.1.0</version> |
| 9 | + <version>1.1.1-SNAPSHOT</version> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 |
|
12 | 12 | <name>sched-java-client</name> |
|
94 | 94 | <dependency> |
95 | 95 | <groupId>com.fasterxml.jackson</groupId> |
96 | 96 | <artifactId>jackson-bom</artifactId> |
97 | | - <version>2.15.3</version> |
| 97 | + <version>2.16.0</version> |
98 | 98 | <type>pom</type> |
99 | 99 | <scope>import</scope> |
100 | 100 | </dependency> |
|
106 | 106 | <dependency> |
107 | 107 | <groupId>org.apache.httpcomponents.client5</groupId> |
108 | 108 | <artifactId>httpclient5</artifactId> |
109 | | - <version>5.2.1</version> |
| 109 | + <version>5.2.3</version> |
110 | 110 | </dependency> |
111 | 111 |
|
112 | 112 | <!-- JSON processing: jackson --> |
|
122 | 122 | <groupId>com.fasterxml.jackson.core</groupId> |
123 | 123 | <artifactId>jackson-databind</artifactId> |
124 | 124 | </dependency> |
125 | | - <dependency> |
126 | | - <groupId>com.fasterxml.jackson.jaxrs</groupId> |
127 | | - <artifactId>jackson-jaxrs-json-provider</artifactId> |
128 | | - </dependency> |
129 | 125 | <dependency> |
130 | 126 | <groupId>com.fasterxml.jackson.datatype</groupId> |
131 | 127 | <artifactId>jackson-datatype-jsr310</artifactId> |
|
188 | 184 | <plugin> |
189 | 185 | <groupId>org.apache.maven.plugins</groupId> |
190 | 186 | <artifactId>maven-javadoc-plugin</artifactId> |
191 | | - <version>3.6.0</version> |
| 187 | + <version>3.6.3</version> |
192 | 188 | <executions> |
193 | 189 | <execution> |
194 | 190 | <id>attach-javadocs</id> |
|
221 | 217 | <plugin> |
222 | 218 | <groupId>org.codehaus.mojo</groupId> |
223 | 219 | <artifactId>build-helper-maven-plugin</artifactId> |
224 | | - <version>3.4.0</version> |
| 220 | + <version>3.5.0</version> |
225 | 221 | <executions> |
226 | 222 | <execution> |
227 | 223 | <phase>generate-sources</phase> |
|
285 | 281 | <profile> |
286 | 282 | <id>openapi-generator</id> |
287 | 283 | <properties> |
288 | | - <basePackage>software.xdev.sched</basePackage> |
| 284 | + <componentName>sched</componentName> |
289 | 285 |
|
290 | 286 | <generatedDirRelative>src/generated/java</generatedDirRelative> |
291 | 287 | <generatedDir>${project.basedir}/${generatedDirRelative}</generatedDir> |
|
299 | 295 | <plugin> |
300 | 296 | <groupId>org.apache.maven.plugins</groupId> |
301 | 297 | <artifactId>maven-clean-plugin</artifactId> |
302 | | - <version>3.3.1</version> |
| 298 | + <version>3.3.2</version> |
303 | 299 | <executions> |
304 | 300 | <execution> |
305 | 301 | <id>pre-generation-clean</id> |
|
328 | 324 | <plugin> |
329 | 325 | <groupId>org.openapitools</groupId> |
330 | 326 | <artifactId>openapi-generator-maven-plugin</artifactId> |
331 | | - <version>7.0.1</version> |
| 327 | + <version>7.1.0</version> |
332 | 328 | <executions> |
333 | 329 | <execution> |
334 | 330 | <goals> |
|
340 | 336 | <configOptions> |
341 | 337 | <sourceFolder>${openApiRelativeGeneratorDir}</sourceFolder> |
342 | 338 | <library>apache-httpclient</library> |
343 | | - <apiPackage>${basePackage}.api</apiPackage> |
344 | | - <modelPackage>${basePackage}.model</modelPackage> |
345 | | - <invokerPackage>${basePackage}.client</invokerPackage> |
| 339 | + <apiPackage>software.xdev.${componentName}.api</apiPackage> |
| 340 | + <modelPackage>software.xdev.${componentName}.model</modelPackage> |
| 341 | + <invokerPackage>software.xdev.${componentName}.client</invokerPackage> |
346 | 342 | <!-- Otherwise throw and catch everywhere --> |
347 | 343 | <useRuntimeException>true</useRuntimeException> |
348 | 344 | <!-- Some fields of API have been ignored because they are unused --> |
|
388 | 384 | <artifactId>find-and-replace-maven-plugin</artifactId> |
389 | 385 | <version>1.1.0</version> |
390 | 386 | <executions> |
| 387 | + <execution> |
| 388 | + <id>remove-unused-import-com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider</id> |
| 389 | + <phase>process-sources</phase> |
| 390 | + <goals> |
| 391 | + <goal>find-and-replace</goal> |
| 392 | + </goals> |
| 393 | + <configuration> |
| 394 | + <replacementType>file-contents</replacementType> |
| 395 | + <baseDir>${generatedDirRelative}/software/xdev/${componentName}/client/</baseDir> |
| 396 | + <fileMask>ApiClient.java</fileMask> |
| 397 | + <!-- @formatter:off DO NOT INTRODUCE LINE BREAK --> |
| 398 | + <findRegex>^(import com\.fasterxml\.jackson\.jaxrs\.json\.JacksonJsonProvider;)$</findRegex> |
| 399 | + <!-- Can't be removed as the plugin isn't supporting empty values --> |
| 400 | + <replaceValue>// $1</replaceValue> |
| 401 | + <!-- @formatter:on --> |
| 402 | + </configuration> |
| 403 | + </execution> |
391 | 404 | <execution> |
392 | 405 | <!-- Sched Patch No1: Simple text is returned as text/html despite having no HTML --> |
393 | 406 | <id>handle-html-like-text</id> |
|
0 commit comments