Files
gen/openapi/csharp.xml

50 lines
1.7 KiB
XML
Raw Normal View History

2017-05-17 10:19:56 -07:00
<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-csharp</artifactId>
<version>1.0-SNAPSHOT</version>
<name>client-net</name>
<url>http://kubernetes.io</url>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>generate</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<!--
Assumes 'autorest' is in your PATH
To install: 'sudo npm -g install autorest'
TODO: Containerize this.
-->
<configuration>
2017-11-16 22:01:27 +08:00
<executable>node</executable>
2017-05-17 10:19:56 -07:00
<arguments>
2017-11-16 22:01:27 +08:00
<argument>--max-old-space-size=8192</argument> <!-- fix oom -->
<argument>/usr/bin/autorest</argument>
2017-10-19 00:45:06 +00:00
<argument>--input-file=${generator.spec.path}</argument>
<argument>--csharp</argument>
<argument>--namespace=${generator.package.name}</argument>
<argument>--package-version=${generator.client.version}</argument>
<argument>--output-folder=${generator.output.path}</argument>
2017-11-16 20:47:41 +08:00
<argument>--add-credentials</argument>
<argument>--debug</argument>
<argument>--verbose</argument>
2017-05-17 10:19:56 -07:00
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>