2022-09-09 15:59:47 +00:00
|
|
|
<?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">
|
2023-07-06 19:13:11 +00:00
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-09-09 15:59:47 +00:00
|
|
|
<parent>
|
|
|
|
|
<groupId>com.appsmith</groupId>
|
|
|
|
|
<artifactId>appsmith-plugins</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<groupId>com.external.plugins</groupId>
|
|
|
|
|
<artifactId>graphqlPlugin</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
<name>graphqlPlugin</name>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-webflux</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.projectreactor</groupId>
|
|
|
|
|
<artifactId>reactor-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${jackson-bom.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${jackson-bom.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${jackson-bom.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${jjwt.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${jjwt.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
2023-07-06 19:13:11 +00:00
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
<!-- or jjwt-gson if Gson is preferred -->
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${jjwt.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
Ideally this dependency should have been added with 'compile' scope here. But that is causing 'java.lang
|
|
|
|
|
.NoClassDefFoundError'. After trying to fix it right way many times, I decided to move the dependency to
|
|
|
|
|
the main server module's pom.xml file and keep the dependency here with 'provided' scope. This seems to
|
|
|
|
|
fix the problem for now.
|
|
|
|
|
-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.graphql-java</groupId>
|
|
|
|
|
<artifactId>graphql-java</artifactId>
|
2023-09-19 03:39:29 +00:00
|
|
|
<version>21.1</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.projectreactor</groupId>
|
2023-07-06 19:13:11 +00:00
|
|
|
<artifactId>reactor-core</artifactId>
|
2022-09-09 15:59:47 +00:00
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
2023-07-06 19:13:11 +00:00
|
|
|
<artifactId>spring-core</artifactId>
|
2022-09-09 15:59:47 +00:00
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
2023-07-06 19:13:11 +00:00
|
|
|
<artifactId>spring-web</artifactId>
|
2022-09-09 15:59:47 +00:00
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.reactivestreams</groupId>
|
2023-07-06 19:13:11 +00:00
|
|
|
<artifactId>reactive-streams</artifactId>
|
2022-09-09 15:59:47 +00:00
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
|
<version>3.13.2</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
2023-01-02 12:40:59 +00:00
|
|
|
<version>${spring-boot.version}</version>
|
2022-09-09 15:59:47 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.projectreactor.netty</groupId>
|
|
|
|
|
<artifactId>reactor-netty-http</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy</goal>
|
|
|
|
|
</goals>
|
2023-07-06 19:13:11 +00:00
|
|
|
<phase>package</phase>
|
2022-09-09 15:59:47 +00:00
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
|
<artifactItems>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
|
</artifactItem>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
|
</artifactItem>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
</artifactItem>
|
|
|
|
|
</artifactItems>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|