-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
120 lines (110 loc) · 5.48 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<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>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ru.bookstore</groupId>
<artifactId>bookstore-app</artifactId>
<packaging>pom</packaging>
<name>bookstore-app</name>
<version>${revision}</version>
<modules>
<module>bookstore-api</module>
<module>bookstore-service</module>
</modules>
<properties>
<java.version>11</java.version>
<springfox.version>2.9.2</springfox.version>
<spring-boot.version>2.5.0</spring-boot.version>
<hibernate.types.version>2.4.4</hibernate.types.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
<openapi-generator-maven-plugin.version>4.3.1</openapi-generator-maven-plugin.version>
<powermock-module-junit4.version>2.0.7</powermock-module-junit4.version>
<powermock-api-mockito2.version>2.0.7</powermock-api-mockito2.version>
<swagger.version>1.6.2</swagger.version>
<revision>0.0.1-SNAPSHOT</revision>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>ru.bookstore</groupId>
<artifactId>bookstore-api</artifactId>
<version>${revision}</version>
</dependency>
<!-- SpringFox -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${springfox.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-core</artifactId>
<version>${swagger.version}</version>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>${jackson-databind-nullable.version}</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-52</artifactId>
<version>${hibernate.types.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi-generator-maven-plugin.version}</version>
<executions>
<execution>
<id>spring</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/bookstore.yaml</inputSpec>
<generatorName>spring</generatorName>
<configOptions>
<artifactDescription>API</artifactDescription>
<artifactId>openapi-spring</artifactId>
<artifactVersion>0.0.1</artifactVersion>
<dateLibrary>java8-localdatetime</dateLibrary>
<developerName>ivanagafonov</developerName>
<developerOrganization>vtb</developerOrganization>
<developerOrganizationUrl>https://www.vtb.ru/</developerOrganizationUrl>
<disableHtmlEscaping>true</disableHtmlEscaping>
<hideGenerationTimestamp>true</hideGenerationTimestamp>
<interfaceOnly>true</interfaceOnly>
<apiPackage>ru.bookstore.api</apiPackage>
<modelPackage>ru.bookstore.model</modelPackage>
<skipDefaultInterface>true</skipDefaultInterface>
<serializableModel>true</serializableModel>
<snapshotVersion>true</snapshotVersion>
<sortModelPropertiesByRequiredFlag>false</sortModelPropertiesByRequiredFlag>
<sortParamsByRequiredFlag>false</sortParamsByRequiredFlag>
<sourceFolder>src/main/java</sourceFolder>
<useBeanValidation>false</useBeanValidation>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>