-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
55 lines (51 loc) · 2.67 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
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>it.baccan</groupId>
<artifactId>cheshire-cat-java-client-generator</artifactId>
<version>1.7.1</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.10.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/openapi.json</inputSpec>
<generatorName>java</generatorName>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<hideGenerationTimestamp>true</hideGenerationTimestamp>
</configOptions>
<!-- override the default library to jersey2 -->
<library>jersey2</library>
<generateSupportingFiles>true</generateSupportingFiles>
<gitHost>github.com</gitHost>
<gitRepoId>api-client-java</gitRepoId>
<gitUserId>matteobaccan</gitUserId>
<apiPackage>it.baccan.cheshirecat.service</apiPackage>
<modelPackage>it.baccan.cheshirecat.model</modelPackage>
<groupId>it.baccan</groupId>
<artifactId>cheshire-cat-java-client</artifactId>
<output>${project.basedir}/../cheshire-cat-java-client</output>
<skipValidateSpec>true</skipValidateSpec>
<cleanupOutput>true</cleanupOutput>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>