139 lines
5.4 KiB
XML
139 lines
5.4 KiB
XML
<?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>
|
|
<artifactId>spring-boot-libraries-2</artifactId>
|
|
|
|
<parent>
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
</dependency>
|
|
<!-- JobRunr -->
|
|
<dependency>
|
|
<groupId>org.jobrunr</groupId>
|
|
<artifactId>jobrunr-spring-boot-starter</artifactId>
|
|
<version>${jobrunr.version}</version>
|
|
</dependency>
|
|
<!-- openapi -->
|
|
<dependency>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator</artifactId>
|
|
<version>${openapi-generator.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>jackson-databind-nullable</artifactId>
|
|
<version>${jackson-databind.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${springfox.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.awaitility</groupId>
|
|
<artifactId>awaitility</artifactId>
|
|
<version>${awaitility.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.leangen.graphql</groupId>
|
|
<artifactId>spqr</artifactId>
|
|
<version>0.11.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.10.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss</groupId>
|
|
<artifactId>jandex</artifactId>
|
|
<version>2.4.3.Final</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
<version>${openapi-generator.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<inputSpec>
|
|
${project.basedir}/src/main/resources/petstore.yml
|
|
</inputSpec>
|
|
<generatorName>spring</generatorName>
|
|
<apiPackage>com.baeldung.openapi.api</apiPackage>
|
|
<modelPackage>com.baeldung.openapi.model</modelPackage>
|
|
<supportingFilesToGenerate>
|
|
ApiUtil.java
|
|
</supportingFilesToGenerate>
|
|
<configOptions>
|
|
<delegatePattern>true</delegatePattern>
|
|
</configOptions>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jboss.jandex</groupId>
|
|
<artifactId>jandex-maven-plugin</artifactId>
|
|
<version>1.2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<id>make-index</id>
|
|
<goals>
|
|
<goal>jandex</goal>
|
|
</goals>
|
|
<configuration>
|
|
<fileSets>
|
|
<fileSet>
|
|
<directory>${project.build.outputDirectory}</directory>
|
|
</fileSet>
|
|
</fileSets>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<jobrunr.version>3.1.1</jobrunr.version>
|
|
<awaitility.version>4.0.3</awaitility.version>
|
|
<openapi-generator.version>5.1.0</openapi-generator.version>
|
|
<spring.data.version>2.4.5</spring.data.version>
|
|
<jackson-databind.version>0.2.1</jackson-databind.version>
|
|
<springfox.version>2.9.2</springfox.version>
|
|
<start-class>com.baeldung.openapi.OpenApiApplication</start-class>
|
|
</properties>
|
|
|
|
</project> |