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">
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>com.appsmith</groupId>
|
|
|
|
|
<artifactId>appsmith-plugins</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>com.external.plugins</groupId>
|
|
|
|
|
<artifactId>graphqlPlugin</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
<name>graphqlPlugin</name>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<java.version>11</java.version>
|
|
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
|
|
<plugin.id>graphql-plugin</plugin.id>
|
|
|
|
|
<plugin.class>com.external.plugins.GraphQLPlugin</plugin.class>
|
|
|
|
|
<plugin.version>1.0-SNAPSHOT</plugin.version>
|
|
|
|
|
<plugin.provider>tech@appsmith.com</plugin.provider>
|
|
|
|
|
<plugin.dependencies/>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
|
<version>5.3.20</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
<version>5.3.20</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-webflux</artifactId>
|
|
|
|
|
<version>5.3.20</version>
|
|
|
|
|
<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>
|
2022-10-31 04:18:37 +00:00
|
|
|
<version>2.13.4.1</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>
|
|
|
|
|
<version>2.10.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
|
<version>2.10.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
|
<version>0.11.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
|
<version>0.11.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
|
|
|
|
<version>0.11.2</version>
|
|
|
|
|
</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>
|
|
|
|
|
<version>19.0</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>reactor-core</artifactId>
|
|
|
|
|
<groupId>io.projectreactor</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>reactive-streams</artifactId>
|
|
|
|
|
<groupId>org.reactivestreams</groupId>
|
|
|
|
|
</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>
|
|
|
|
|
<version>2.7.0</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
|
<version>5.3.20</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.projectreactor.netty</groupId>
|
|
|
|
|
<artifactId>reactor-netty-http</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
<version>3.2.4</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>shade-plugin-jar</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>shade</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
|
<transformers>
|
2022-09-29 03:24:07 +00:00
|
|
|
<transformer
|
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
2022-09-09 15:59:47 +00:00
|
|
|
<manifestEntries>
|
|
|
|
|
<Plugin-Id>${plugin.id}</Plugin-Id>
|
|
|
|
|
<Plugin-Class>${plugin.class}</Plugin-Class>
|
|
|
|
|
<Plugin-Version>${plugin.version}</Plugin-Version>
|
|
|
|
|
<Plugin-Provider>${plugin.provider}</Plugin-Provider>
|
|
|
|
|
</manifestEntries>
|
|
|
|
|
</transformer>
|
|
|
|
|
</transformers>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<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>
|