-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpom.xml
163 lines (151 loc) · 7.42 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.opsgenie.oas</groupId>
<artifactId>swagger-spec</artifactId>
<packaging>jar</packaging>
<version>1.0.12</version>
<name>opsgenie-oas</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<!-- activate the plugin -->
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>${swagger-codegen-maven-plugin-version}</version>
<executions>
<execution>
<id>swagger-java-sdk</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<!-- specify the swagger yaml/json -->
<inputSpec>swagger.json</inputSpec>
<!-- target to generate java client code -->
<language>java</language>
<configHelp>false</configHelp>
<!-- target output path -->
<output>${project.build.directory}/generated-sources/java</output>
<!-- package for generated models -->
<modelPackage>com.opsgenie.oas.sdk.model</modelPackage>
<!-- package for generated api classes -->
<apiPackage>com.opsgenie.oas.sdk.api</apiPackage>
<!-- package for invoker Objects -->
<invokerPackage>com.opsgenie.oas.sdk</invokerPackage>
<!-- pass any necessary config options -->
<configOptions>
<groupId>com.opsgenie.oas</groupId>
<artifactId>opsgenie-sdk-swagger</artifactId>
<artifactVersion>${project.version}</artifactVersion>
<developerName>Alp, Baris, Mustafa, Halil, Alperen, Zafer</developerName>
<developerEmail>support@opsgenie.com</developerEmail>
<developerOrganization>OpsGenie</developerOrganization>
<developerOrganizationUrl>https://www.opsgenie.com/</developerOrganizationUrl>
<hideGenerationTimestamp>true</hideGenerationTimestamp>
<dateLibrary>joda</dateLibrary>
<library>jersey2</library>
<sortParamsByRequiredFlag>false</sortParamsByRequiredFlag>
<useBeanValidation>true</useBeanValidation>
<performBeanValidation>true</performBeanValidation>
<supportJava6>false</supportJava6>
<useRuntimeException>true</useRuntimeException>
<licenseName>Apache License 2.0 (Apache-2.0)</licenseName>
<licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- You can find the dependencies for the library configuation you chose by looking in JavaClientCodegen.
Then find the corresponding dependency on Maven Central, and set the versions in the property section below -->
<!-- HTTP client: jersey-client -->
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>${jersey-version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${jersey-version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-multipart</artifactId>
<version>${jersey-version}</version>
</dependency>
<!-- JSON processing: jackson -->
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-base</artifactId>
<version>${jackson-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-data-bind-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson-version}</version>
</dependency>
<!-- Joda time: if you use it -->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<version>${jackson-version}</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${jodatime-version}</version>
</dependency>
<!-- bean validation: if you use it -->
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${javax-version}</version>
</dependency>
<!-- Base64 encoding that works in both JVM and Android -->
<dependency>
<groupId>com.brsanthu</groupId>
<artifactId>migbase64</artifactId>
<version>${base64-version}</version>
</dependency>
</dependencies>
<properties>
<swagger-codegen-maven-plugin-version>2.3.0</swagger-codegen-maven-plugin-version>
<swagger-annotations-version>1.5.8</swagger-annotations-version>
<jersey-version>2.25.1</jersey-version>
<jackson-version>2.9.10</jackson-version>
<jackson-data-bind-version>2.10.5.1</jackson-data-bind-version>
<javax-version>1.1.0.Final</javax-version>
<jodatime-version>2.7</jodatime-version>
<base64-version>2.2</base64-version>
<maven-plugin-version>1.0.0</maven-plugin-version>
<junit-version>4.8.1</junit-version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>