| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							| 
									
										
										
										
											2020-03-22 07:24:38 +05:30
										 |  |  | <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  |     <artifactId>spring-boot-springdoc</artifactId> | 
					
						
							|  |  |  |     <version>0.0.1-SNAPSHOT</version> | 
					
						
							|  |  |  |     <name>spring-boot-springdoc</name> | 
					
						
							|  |  |  |     <packaging>jar</packaging> | 
					
						
							| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  |     <description>Project for Springdoc integration</description> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <parent> | 
					
						
							|  |  |  |         <groupId>com.baeldung</groupId> | 
					
						
							| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  |         <artifactId>parent-boot-2</artifactId> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |         <version>0.0.1-SNAPSHOT</version> | 
					
						
							| 
									
										
										
										
											2020-01-27 00:27:24 +01:00
										 |  |  |         <relativePath>../../parent-boot-2</relativePath> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-web</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2020-03-09 19:48:44 +03:30
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-data-jpa</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.h2database</groupId> | 
					
						
							|  |  |  |             <artifactId>h2</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-test</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-10 23:59:34 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.hibernate</groupId> | 
					
						
							|  |  |  |             <artifactId>hibernate-core</artifactId> | 
					
						
							|  |  |  |             <version>${hibernate.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |         <!-- SpringDoc --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springdoc</groupId> | 
					
						
							|  |  |  |             <artifactId>springdoc-openapi-ui</artifactId> | 
					
						
							| 
									
										
										
										
											2020-03-09 19:48:44 +03:30
										 |  |  |             <version>${springdoc.version}</version> | 
					
						
							| 
									
										
										
										
											2020-01-10 14:35:32 +01:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							| 
									
										
										
										
											2020-03-09 19:48:44 +03:30
										 |  |  |             <groupId>org.springdoc</groupId> | 
					
						
							|  |  |  |             <artifactId>springdoc-openapi-data-rest</artifactId> | 
					
						
							|  |  |  |             <version>${springdoc.version}</version> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |     </dependencies> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                 <artifactId>spring-boot-maven-plugin</artifactId> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |         </plugins> | 
					
						
							|  |  |  |     </build> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-22 07:24:38 +05:30
										 |  |  |     <properties> | 
					
						
							|  |  |  |         <java.version>1.8</java.version> | 
					
						
							| 
									
										
										
										
											2020-04-10 23:59:34 +02:00
										 |  |  |         <hibernate.version>5.2.10.Final</hibernate.version> | 
					
						
							| 
									
										
										
										
											2020-03-22 07:24:38 +05:30
										 |  |  |         <springdoc.version>1.2.32</springdoc.version> | 
					
						
							|  |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |     <profiles> | 
					
						
							|  |  |  |         <profile> | 
					
						
							|  |  |  |             <id>integration</id> | 
					
						
							|  |  |  |             <build> | 
					
						
							|  |  |  |                 <plugins> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                         <artifactId>spring-boot-maven-plugin</artifactId> | 
					
						
							| 
									
										
										
										
											2020-01-10 14:35:32 +01:00
										 |  |  |                         <version>2.2.2.RELEASE</version> | 
					
						
							| 
									
										
										
										
											2019-11-07 04:12:51 +01:00
										 |  |  |                         <executions> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <id>pre-integration-test</id> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>start</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <id>post-integration-test</id> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>stop</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.springdoc</groupId> | 
					
						
							|  |  |  |                         <artifactId>springdoc-openapi-maven-plugin</artifactId> | 
					
						
							|  |  |  |                         <version>0.2</version> | 
					
						
							|  |  |  |                         <executions> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <phase>integration-test</phase> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>generate</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <apiDocsUrl>http://localhost:8080/api-docs</apiDocsUrl> | 
					
						
							|  |  |  |                             <outputFileName>openapi.json</outputFileName> | 
					
						
							|  |  |  |                             <outputDir>${project.build.directory}</outputDir> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							|  |  |  |     </profiles> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </project> |