99 lines
2.9 KiB
XML
99 lines
2.9 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.7.9</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>com.longfor</groupId>
|
|
<artifactId>bff_netflix</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>bff_netflix</name>
|
|
<description>bff_netflix</description>
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<dgs.codegen.version>5.1.17</dgs.codegen.version>
|
|
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.netflix.graphql.dgs</groupId>
|
|
<artifactId>graphql-dgs-platform-dependencies</artifactId>
|
|
<!-- The DGS BOM/platform dependency. This is the only place you set version of DGS -->
|
|
<version>4.9.16</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.graphql.dgs</groupId>
|
|
<artifactId>graphql-dgs-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.graphql.dgs.codegen</groupId>
|
|
<artifactId>graphql-dgs-codegen-client-core</artifactId>
|
|
<version>${dgs.codegen.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.github.deweyjose</groupId>
|
|
<artifactId>graphqlcodegen-maven-plugin</artifactId>
|
|
<version>1.30</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<generateClientApi>true</generateClientApi>
|
|
<addGeneratedAnnotation>true</addGeneratedAnnotation>
|
|
<packageName>com.longfor</packageName>
|
|
<schemaPaths>
|
|
<path>src/main/resources/schema</path>
|
|
</schemaPaths>
|
|
<generateBoxedTypes>true</generateBoxedTypes>
|
|
<writeToFiles>true</writeToFiles>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|