-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
85 lines (81 loc) · 3.52 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
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>pagerduty-models</groupId>
<artifactId>pagerduty-models-codegen</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>pagerduty-models</name>
<!-- build with: mvn clean compiler:compile generate-resources -->
<build>
<sourceDirectory>${project.basedir}/java</sourceDirectory>
<plugins>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.33</version>
<executions>
<execution>
<id>default</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://raw.githubusercontent.com/fussybeaver/pagerduty-api-schema/praiya-master/reference/REST/openapiv3.json</inputSpec>
<language>pagerduty.PagerDutyCodegen</language>
<output>${project.basedir}</output>
<generateApis>true</generateApis>
<templateDirectory>${project.basedir}/templates</templateDirectory>
<configOptions>
<packageName>pagerduty-models-models</packageName>
<packageVersion>0</packageVersion>
<targetApiPrefix>default</targetApiPrefix>
<skipSerializingIfNone>true</skipSerializingIfNone>
</configOptions>
</configuration>
</execution>
<execution>
<id>slack</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://raw.githubusercontent.com/fussybeaver/pagerduty-api-schema/praiya-master/reference/integration-slack-service/openapiv3.json</inputSpec>
<language>pagerduty.PagerDutyCodegen</language>
<output>${project.basedir}</output>
<generateApis>true</generateApis>
<templateDirectory>${project.basedir}/templates</templateDirectory>
<configOptions>
<packageName>pagerduty-models-models</packageName>
<packageVersion>0</packageVersion>
<targetApiPrefix>slack</targetApiPrefix>
<skipSerializingIfNone>false</skipSerializingIfNone>
</configOptions>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>pagerduty-models</groupId>
<artifactId>pagerduty-models-codegen</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen</artifactId>
<version>3.0.33</version>
</dependency>
<dependency>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-generators</artifactId>
<version>1.0.32</version>
</dependency>
</dependencies>
</project>