2019-11-06 22:12:51 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-07-15 00:29:54 -04:00
|
|
|
<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-06 22:12:51 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-05-13 13:17:40 -04:00
|
|
|
<artifactId>spring-boot-springdoc</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-boot-springdoc</name>
|
2021-11-09 05:57:03 -05:00
|
|
|
<packaging>jar</packaging>
|
2021-05-13 13:17:40 -04:00
|
|
|
<description>Project for Springdoc integration</description>
|
2020-07-07 23:00:05 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
2019-11-06 22:12:51 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
2020-09-11 08:49:02 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
2020-03-09 12:18:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
2022-05-31 10:54:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
|
|
|
</dependency>
|
2019-11-06 22:12:51 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-06-18 06:54:06 -04:00
|
|
|
<!-- SpringDoc for Spring Boot Version 1.x and 2.x -->
|
2019-11-06 22:12:51 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
2020-03-09 12:18:44 -04:00
|
|
|
<version>${springdoc.version}</version>
|
2020-01-10 08:35:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-03-09 12:18:44 -04:00
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-data-rest</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
2021-05-13 13:17:40 -04:00
|
|
|
</dependency>
|
2022-05-31 10:54:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-security</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
</dependency>
|
2021-05-13 13:17:40 -04:00
|
|
|
<dependency>
|
2020-05-15 16:37:36 -04:00
|
|
|
<groupId>org.springframework.restdocs</groupId>
|
|
|
|
<artifactId>spring-restdocs-mockmvc</artifactId>
|
|
|
|
<scope>test</scope>
|
2019-11-06 22:12:51 -05:00
|
|
|
</dependency>
|
2020-05-15 16:37:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.restdocs</groupId>
|
|
|
|
<artifactId>spring-restdocs-restassured</artifactId>
|
|
|
|
<scope>test</scope>
|
2021-05-13 13:17:40 -04:00
|
|
|
</dependency>
|
2019-11-06 22:12:51 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-05-15 16:37:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
|
|
<version>${asciidoctor-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-docs</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<backend>html</backend>
|
|
|
|
<doctype>book</doctype>
|
|
|
|
<attributes>
|
|
|
|
<snippets>${snippetsDirectory}</snippets>
|
|
|
|
</attributes>
|
|
|
|
<sourceDirectory>src/main/resources/asciidocs</sourceDirectory>
|
|
|
|
<outputDirectory>target/generated-docs</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-11-06 22:12:51 -05:00
|
|
|
</plugins>
|
2020-05-15 16:37:36 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>application.properties</include>
|
|
|
|
<include>data.sql</include>
|
2021-05-13 13:17:40 -04:00
|
|
|
<include>schema.sql</include>
|
2022-06-06 11:05:38 -04:00
|
|
|
<include>app.key</include>
|
|
|
|
<include>app.pub</include>
|
2020-05-15 16:37:36 -04:00
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2019-11-06 22:12:51 -05:00
|
|
|
</build>
|
|
|
|
|
2021-05-13 13:17:40 -04:00
|
|
|
<properties>
|
2023-05-02 03:41:49 -04:00
|
|
|
<springdoc.version>1.7.0</springdoc.version>
|
2021-05-13 13:17:40 -04:00
|
|
|
<asciidoctor-plugin.version>1.5.6</asciidoctor-plugin.version>
|
|
|
|
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
|
2023-05-02 03:41:49 -04:00
|
|
|
<springdoc-openapi-maven-plugin.version>1.4</springdoc-openapi-maven-plugin.version>
|
2021-05-13 13:17:40 -04:00
|
|
|
</properties>
|
|
|
|
|
2019-11-06 22:12:51 -05:00
|
|
|
</project>
|