171 lines
6.6 KiB
XML
171 lines
6.6 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_c2</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>bff_c2</name>
|
|
<description>bff_c2</description>
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<dgs.codegen.version>5.1.17</dgs.codegen.version>
|
|
<spring-cloud.version>2021.0.5</spring-cloud.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>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</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>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.netflix.graphql.dgs</groupId>
|
|
<artifactId>graphql-dgs-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.graphql.dgs</groupId>
|
|
<artifactId>graphql-dgs-pagination</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.graphql.dgs</groupId>
|
|
<artifactId>graphql-dgs-extended-scalars</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>com.graphql-java</groupId>
|
|
<artifactId>graphql-java-extended-scalars</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.78</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>5.4.0</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.longfor.c2.starter</groupId>-->
|
|
<!-- <artifactId>longfor-starter-web</artifactId>-->
|
|
<!-- <version>1.0.1-SNAPSHOT</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.graphql</groupId>
|
|
<artifactId>spring-graphql</artifactId>
|
|
</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>false</addGeneratedAnnotation>
|
|
<packageName>com.longfor</packageName>
|
|
<schemaPaths>
|
|
<path>src/main/resources/schema</path>
|
|
</schemaPaths>
|
|
<generateBoxedTypes>true</generateBoxedTypes>
|
|
<writeToFiles>true</writeToFiles>
|
|
<typeMapping>
|
|
<ExtentConnection>
|
|
<![CDATA[graphql.relay.SimpleListConnection<Extent>]]>
|
|
</ExtentConnection>
|
|
<GraphQLBigDecimal>
|
|
<![CDATA[java.math.BigDecimal]]>
|
|
</GraphQLBigDecimal>
|
|
<BigDecimal>
|
|
<![CDATA[java.math.BigDecimal]]>
|
|
</BigDecimal>
|
|
<DgsDateTime>
|
|
<![CDATA[java.time.LocalDateTime]]>
|
|
</DgsDateTime>
|
|
</typeMapping>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|