-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
136 lines (130 loc) · 6.38 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ch.datatrans</groupId>
<artifactId>datatrans-java-sdk-generator</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<gson-fire-version>1.8.5</gson-fire-version>
<swagger-core-version>1.6.2</swagger-core-version>
<okhttp-version>4.12.0</okhttp-version>
<gson-version>2.8.9</gson-version>
<commons-lang3-version>3.11</commons-lang3-version>
<javax-annotation-version>1.3.2</javax-annotation-version>
<junit-version>5.10.3</junit-version>
<jsr305.version>3.0.2</jsr305.version>
<datatrans-json-api.version>2.0.45</datatrans-json-api.version>
<openapi-generator-maven-plugin>7.7.0</openapi-generator-maven-plugin>
<default.package>ch.datatrans</default.package>
</properties>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp-version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>${okhttp-version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson-version}</version>
</dependency>
<dependency>
<groupId>io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>${gson-fire-version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3-version}</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax-annotation-version}</version>
<scope>provided</scope>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi-generator-maven-plugin}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>
${project.basedir}/src/main/resources/datatrans-openapi-specification-${datatrans-json-api.version}.json
</inputSpec>
<generatorName>java</generatorName>
<configOptions>
<groupId>ch.datatrans</groupId>
<artifactId>datatrans-java-sdk</artifactId>
<artifactVersion>2.0.15</artifactVersion>
<!-- https://stackoverflow.com/questions/56237650/use-java-time-instant-to-represent-datetime-instead-of-offsetdatetime/60641140#60641140 -->
<dateLibrary>custom</dateLibrary>
<snapshotVersion>false</snapshotVersion>
<apiPackage>${default.package}.api</apiPackage>
<modelPackage>${default.package}.model</modelPackage>
<invokerPackage>${default.package}.invoker</invokerPackage>
<generateApiTests>false</generateApiTests>
<developerEmail>[email protected]</developerEmail>
<developerName>Datatrans-Java-SDK-Generator Contributors</developerName>
<developerOrganization>Datatrans AG</developerOrganization>
<developerOrganizationUrl>https://www.datatrans.ch</developerOrganizationUrl>
<scmConnection>scm:git:[email protected]:datatrans/openapi-java-sdk-generator.git</scmConnection>
<scmDeveloperConnection>scm:git:[email protected]:datatrans/openapi-java-sdk-generator.git</scmDeveloperConnection>
<scmUrl>https://github.com/datatrans/openapi-java-sdk-generator</scmUrl>
</configOptions>
<importMappings>
<importMapping>LocalDate=java.time.LocalDate</importMapping>
<importMapping>LocalTime=java.time.LocalTime</importMapping>
</importMappings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>