/
pom.xml
62 lines (58 loc) · 2.6 KB
/
pom.xml
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
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>bollard</groupId>
<artifactId>bollard-codegen</artifactId>
<version>0.1.4-SNAPSHOT</version>
<name>bollard</name>
<!-- build with: mvn clean compiler:compile generate-resources -->
<build>
<plugins>
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>2.4.27</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<!-- moby commit a06bae909494b43daadc0ee60dbce79231616470 is v20.10.16 + a fix for issue https://github.com/moby/moby/issues/43655
<inputSpec>https://raw.githubusercontent.com/moby/moby/v20.10.16/docs/api/v1.41.yaml</inputSpec>
<inputSpec>https://docs.docker.com/engine/api/v1.41.yaml</inputSpec>
-->
<inputSpec>https://raw.githubusercontent.com/moby/moby/a06bae909494b43daadc0ee60dbce79231616470/docs/api/v1.41.yaml</inputSpec>
<language>bollard.BollardCodegen</language>
<output>${project.build.directory}/generated-sources</output>
<generateApis>true</generateApis>
<templateDirectory>${project.basedir}/src/main/resources/bollard</templateDirectory>
<supportingFilesToGenerate>models.rs,lib.rs,Cargo.toml,config,README.md</supportingFilesToGenerate>
<configOptions>
<packageName>bollard-stubs</packageName>
<packageVersion>1.42.0-rc.3</packageVersion>
</configOptions>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>bollard</groupId>
<artifactId>bollard-codegen</artifactId>
<version>0.1.4-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen</artifactId>
<version>2.4.27</version>
</dependency>
</dependencies>
</project>