57 lines
2.6 KiB
XML
57 lines
2.6 KiB
XML
<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>io.kubernetes</groupId>
|
|
<artifactId>client-python</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>client-python</name>
|
|
<url>http://kubernetes.io</url>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
<version>${openapi-generator-version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<inputSpec>${generator.spec.path}</inputSpec>
|
|
<skipValidateSpec>true</skipValidateSpec>
|
|
<generatorName>python-legacy</generatorName>
|
|
<library>asyncio</library>
|
|
<gitUserId>kubernetes-client</gitUserId>
|
|
<gitRepoId>python</gitRepoId>
|
|
<configOptions>
|
|
<packageName>${generator.package.name}</packageName>
|
|
<packageVersion>${generator.client.version}</packageVersion>
|
|
<sortParamsByRequiredFlag>true</sortParamsByRequiredFlag>
|
|
</configOptions>
|
|
<output>${generator.output.path}</output>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<!-- dependencies are needed for the client being generated -->
|
|
<dependency>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>${swagger-annotations-version}</version>
|
|
</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>swagger_client</generator.package.name>
|
|
<generator.client.version>unversioned</generator.client.version>
|
|
</properties>
|
|
</project>
|