-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
113 lines (113 loc) · 4.88 KB
/
pom.xml
File metadata and controls
113 lines (113 loc) · 4.88 KB
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
<?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>com.exoscale</groupId>
<artifactId>sdk</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.4.0</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://api-ch-gva-2.exoscale.com/v2/openapi.json</inputSpec>
<generatorName>java</generatorName>
<library>native</library>
<openapiNormalizer>
SET_TAGS_FOR_ALL_OPERATIONS=exoscale
</openapiNormalizer>
<configOptions>
<hideGenerationTimestamp>true</hideGenerationTimestamp>
<additionalProperties>
<buildTool>maven</buildTool>
</additionalProperties>
<apiPackage>com.exoscale.sdk.api</apiPackage>
<modelPackage>com.exoscale.sdk.model</modelPackage>
<invokerPackage>com.exoscale.sdk.client</invokerPackage>
<groupId>com.exoscale.sdk</groupId>
<artifactId>sdk</artifactId>
<artifactVersion>0.0.5-SNAPSHOT-a13fcb8</artifactVersion>
<artifactUrl>https://github.com/exoscale/exoscale-sdk-java</artifactUrl>
<artifactDescription>Java SDK for interacting with Exoscale Cloud Services.</artifactDescription>
<scmConnection>scm:git:git://github.com/exoscale/exoscale-sdk-java.git</scmConnection>
<scmDeveloperConnection>scm:git:ssh://github.com/exoscale/exoscale-sdk-java.git</scmDeveloperConnection>
<scmUrl>https://github.com/exoscale/exoscale-sdk-java</scmUrl>
<licenseName>Apache License Version 2.0</licenseName>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
<developerName>Exoscale</developerName>
<developerEmail>support@exoscale.com</developerEmail>
<developerOrganization>Exoscale</developerOrganization>
<developerOrganizationUrl>https://www.exoscale.com</developerOrganizationUrl>
</configOptions>
<additionalProperties>
<buildTool>maven</buildTool>
</additionalProperties>
<output>${project.basedir}/sdk</output>
<templateDirectory>generator</templateDirectory>
<skipValidateSpec>true</skipValidateSpec>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-custom-templates</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}/sdk/src/main/java/com/exoscale/sdk/client</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/generator/libraries/native</directory>
<includes>
<include>Credentials.java</include>
<include>Client.java</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-readme</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/sdk</directory>
<includes>
<include>README.md</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
</project>