55 lines
1.8 KiB
XML
55 lines
1.8 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-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>prepare</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>git</executable>
|
|
<arguments>
|
|
<argument>clone</argument>
|
|
<argument>https://github.com/kubernetes-client/csharp.git</argument>
|
|
<argument>/tmp/csrepo</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>dotnet</executable>
|
|
<workingDirectory>/tmp/csrepo/gen/KubernetesGenerator/</workingDirectory>
|
|
<arguments>
|
|
<argument>run</argument>
|
|
<argument>--project</argument>
|
|
<argument>KubernetesGenerator.csproj</argument>
|
|
<argument>${generator.output.path}</argument>
|
|
<argument>${generator.output.path}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|