2019-11-16 08:43:40 -08:00
|
|
|
<project
|
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
2017-05-03 21:01:41 -07:00
|
|
|
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>io.kubernetes</groupId>
|
|
|
|
|
<artifactId>client-java</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<name>client-java</name>
|
|
|
|
|
<url>http://kubernetes.io</url>
|
2020-06-13 19:35:55 -04:00
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>crd-mode</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
|
|
|
|
<name>env.KUBERNETES_CRD_MODE</name>
|
|
|
|
|
<value>true</value>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.openapitools</groupId>
|
|
|
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
2020-12-03 12:49:01 -05:00
|
|
|
<generateApis>${env.GENERATE_APIS}</generateApis>
|
2020-06-13 19:35:55 -04:00
|
|
|
<generateModelDocumentation>false</generateModelDocumentation>
|
2020-12-03 12:49:01 -05:00
|
|
|
<importMappings>
|
|
|
|
|
V1ListMeta=io.kubernetes.client.openapi.models.V1ListMeta,
|
|
|
|
|
V1ObjectMeta=io.kubernetes.client.openapi.models.V1ObjectMeta,
|
2022-07-01 10:19:24 -04:00
|
|
|
V1ObjectMeta_v2=io.kubernetes.client.openapi.models.V1ObjectMeta,
|
2020-12-03 12:49:01 -05:00
|
|
|
IntOrString=io.kubernetes.client.custom.IntOrString,
|
|
|
|
|
Quantity=io.kubernetes.client.custom.Quantity,
|
|
|
|
|
V1Patch=io.kubernetes.client.custom.V1Patch,
|
|
|
|
|
V1DeleteOptions=io.kubernetes.client.openapi.models.V1DeleteOptions,
|
2022-07-01 10:19:24 -04:00
|
|
|
V1DeleteOptions_v2=io.kubernetes.client.openapi.models.V1DeleteOptions,
|
2020-12-03 12:49:01 -05:00
|
|
|
V1Status=io.kubernetes.client.openapi.models.V1Status,
|
2022-07-01 10:19:24 -04:00
|
|
|
V1Status_v2=io.kubernetes.client.openapi.models.V1Status,
|
2020-12-08 03:03:11 +01:00
|
|
|
V1Scale=io.kubernetes.client.openapi.models.V1Scale,
|
2022-07-01 10:19:24 -04:00
|
|
|
V1Scale_v2=io.kubernetes.client.openapi.models.V1Scale,
|
2020-12-03 12:49:01 -05:00
|
|
|
</importMappings>
|
|
|
|
|
<configOptions>
|
|
|
|
|
<invokerPackage>io.kubernetes.client.openapi</invokerPackage>
|
|
|
|
|
</configOptions>
|
2020-06-13 19:35:55 -04:00
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2017-05-03 21:01:41 -07:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
2019-11-16 08:43:40 -08:00
|
|
|
<groupId>org.openapitools</groupId>
|
|
|
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
|
|
|
<version>${openapi-generator-version}</version>
|
2017-05-03 21:01:41 -07:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<inputSpec>${generator.spec.path}</inputSpec>
|
2020-07-27 13:20:17 +08:00
|
|
|
<httpUserAgent>Kubernetes Java Client/${generator.client.version}</httpUserAgent>
|
2020-06-13 19:35:55 -04:00
|
|
|
<generatorName>java</generatorName>
|
2017-05-03 21:01:41 -07:00
|
|
|
<gitUserId>kubernetes-client</gitUserId>
|
|
|
|
|
<gitRepoId>client-java</gitRepoId>
|
2019-11-16 08:43:40 -08:00
|
|
|
<skipValidateSpec>true</skipValidateSpec>
|
2019-12-11 07:48:05 +08:00
|
|
|
<generateApiTests>false</generateApiTests>
|
|
|
|
|
<generateModelTests>false</generateModelTests>
|
2017-05-03 21:01:41 -07:00
|
|
|
<configOptions>
|
|
|
|
|
<projectName>kubernetes-java-client</projectName>
|
|
|
|
|
<projectDescription>Java client for Kubernetes.</projectDescription>
|
|
|
|
|
<projectVersion>${generator.client.version}</projectVersion>
|
|
|
|
|
<projectLicenseName>Apache V2</projectLicenseName>
|
|
|
|
|
<sortParamsByRequiredFlag>true</sortParamsByRequiredFlag>
|
|
|
|
|
<modelPackage>${generator.package.name}.models</modelPackage>
|
|
|
|
|
<apiPackage>${generator.package.name}.apis</apiPackage>
|
|
|
|
|
<invokerPackage>${generator.package.name}</invokerPackage>
|
|
|
|
|
<ensureUniqueParams>true</ensureUniqueParams>
|
|
|
|
|
<groupId>io.kubernetes</groupId>
|
|
|
|
|
<artifactId>client-java</artifactId>
|
|
|
|
|
<artifactVersion>1.0-SNAPSHOT</artifactVersion>
|
2017-05-10 10:40:15 -07:00
|
|
|
<sourceFolder>src/main/java</sourceFolder>
|
2017-05-03 21:01:41 -07:00
|
|
|
<serializableModel>false</serializableModel>
|
|
|
|
|
<bigDecimalAsString>false</bigDecimalAsString>
|
2017-05-09 20:10:24 -07:00
|
|
|
<fullJavaUtil>false</fullJavaUtil>
|
2021-02-26 17:40:17 +01:00
|
|
|
<hideGenerationTimestamp>${env.HIDE_GENERATION_TIMESTAMP}</hideGenerationTimestamp>
|
2021-01-05 18:53:59 +00:00
|
|
|
<dateLibrary>java8</dateLibrary>
|
2017-05-03 21:01:41 -07:00
|
|
|
<useRxJava>false</useRxJava>
|
2021-02-26 17:40:17 +01:00
|
|
|
<library>${env.LIBRARY}</library>
|
2019-11-27 13:27:20 +08:00
|
|
|
<useReflectionEqualsHashCode>false</useReflectionEqualsHashCode>
|
2017-05-03 21:01:41 -07:00
|
|
|
</configOptions>
|
2019-12-11 07:48:05 +08:00
|
|
|
<typeMappings>int-or-string=IntOrString,quantity=Quantity,patch=V1Patch</typeMappings>
|
|
|
|
|
<importMappings>IntOrString=io.kubernetes.client.custom.IntOrString,Quantity=io.kubernetes.client.custom.Quantity,V1Patch=io.kubernetes.client.custom.V1Patch</importMappings>
|
2017-05-03 21:01:41 -07:00
|
|
|
<output>${generator.output.path}</output>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2017-05-09 20:10:24 -07:00
|
|
|
<dependencies>
|
|
|
|
|
<!-- dependencies are needed for the client being generated -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
|
<version>${swagger-annotations-version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2019-11-16 08:43:40 -08:00
|
|
|
<groupId>org.openapitools</groupId>
|
|
|
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
|
|
|
<version>${openapi-generator-version}</version>
|
2017-05-09 20:10:24 -07:00
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<properties>
|
|
|
|
|
<swagger-annotations-version>1.5.0</swagger-annotations-version>
|
|
|
|
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
|
|
|
|
<!-- Default values for the generator parameters. -->
|
|
|
|
|
<generator.output.path>.</generator.output.path>
|
|
|
|
|
<generator.spec.path>swagger.json</generator.spec.path>
|
|
|
|
|
<generator.package.name>client</generator.package.name>
|
|
|
|
|
<generator.client.version>1.0-snapshot</generator.client.version>
|
|
|
|
|
</properties>
|
2017-05-10 10:40:15 -07:00
|
|
|
</project>
|