All checks were successful
continuous-integration/drone/push Build is passing
410 lines
14 KiB
XML
410 lines
14 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>
|
|
<groupId>com.egommerce</groupId>
|
|
<artifactId>api-gateway</artifactId>
|
|
<name>api-gateway</name>
|
|
<description>API Gateway - built using netflix-zuul v2</description>
|
|
<version>dev</version>
|
|
<url>https://egommerce.dev</url>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<java.version>18</java.version>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<maven.compiler.fork>true</maven.compiler.fork>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<netflix.zull.version>2.3.0</netflix.zull.version>
|
|
<netflix.eureka.version>1.10.17</netflix.eureka.version>
|
|
<netflix.ribbon.version>2.4.4</netflix.ribbon.version>
|
|
<groovy.all>3.0.13</groovy.all>
|
|
<groovy.eclipse.batch>2.5.14-01</groovy.eclipse.batch>
|
|
<!-- <groovy.eclipse.batch>3.0.8-01</groovy.eclipse.batch> -->
|
|
<groovy.eclipse.compiler>2.9.1-01</groovy.eclipse.compiler>
|
|
<!-- <groovy.eclipse.compiler>3.3.0-01</groovy.eclipse.compiler> -->
|
|
<slf4j.version>1.7.36</slf4j.version>
|
|
<io.netty.version>4.1.84.Final</io.netty.version>
|
|
<io.netty.io_uring.version>0.0.15.Final</io.netty.io_uring.version>
|
|
</properties>
|
|
|
|
<!-- <repositories>
|
|
<repository>
|
|
<id>groovy-libs-release</id>
|
|
<url>https://groovy.jfrog.io/artifactory/libs-release</url>
|
|
</repository>
|
|
</repositories> -->
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>groovy-plugins-release</id>
|
|
<url>https://groovy.jfrog.io/artifactory/plugins-release</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<build>
|
|
<!-- <pluginManagement> -->
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-eclipse-batch</artifactId>
|
|
<version>${groovy.eclipse.batch}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
<version>${groovy.eclipse.compiler}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<compilerId>groovy-eclipse-compiler</compilerId>
|
|
<encoding>UTF-8</encoding>
|
|
<extensions>true</extensions>
|
|
<failOnWarning>true</failOnWarning>
|
|
<verbose>true</verbose>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- </plugins> -->
|
|
<!-- </pluginManagement> -->
|
|
<!-- <plugins> -->
|
|
<plugin>
|
|
<!-- Build JAR with all dependencies -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<mainClass>com.egommerce.apigateway.Bootstrap</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Enforce dependency conflicts free-->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0-M2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce</id>
|
|
<configuration>
|
|
<rules>
|
|
<dependencyConvergence />
|
|
</rules>
|
|
</configuration>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<excludes>
|
|
<exclude>ssl/</exclude>
|
|
</excludes>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
<includes>
|
|
<include>ssl/</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.netflix.zuul</groupId>
|
|
<artifactId>zuul-core</artifactId>
|
|
<version>${netflix.zull.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.zuul</groupId>
|
|
<artifactId>zuul-groovy</artifactId>
|
|
<version>${netflix.zull.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.eureka</groupId>
|
|
<artifactId>eureka-client</artifactId>
|
|
<version>${netflix.eureka.version}</version>
|
|
</dependency>
|
|
<!--
|
|
<dependency>
|
|
<groupId>com.netflix.archaius</groupId>
|
|
<artifactId>archaius-core</artifactId>
|
|
<version>0.7.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.netflix-commons</groupId>
|
|
<artifactId>netflix-commons-util</artifactId>
|
|
<version>0.3.0</version>
|
|
</dependency> -->
|
|
<dependency>
|
|
<groupId>com.netflix.zuul</groupId>
|
|
<artifactId>zuul-guice</artifactId>
|
|
<version>${netflix.zull.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>31.1-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-all</artifactId>
|
|
<!-- <classifier>indy</classifier> -->
|
|
<version>${groovy.all}</version>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.awaitility</groupId>
|
|
<artifactId>awaitility</artifactId>
|
|
<version>4.2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-buffer</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.68</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
<version>1.68</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.netflix.eureka</groupId>
|
|
<artifactId>eureka-client</artifactId>
|
|
<version>${netflix.eureka.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.archaius</groupId>
|
|
<artifactId>archaius-core</artifactId>
|
|
<version>0.7.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.netflix-commons</groupId>
|
|
<artifactId>netflix-commons-util</artifactId>
|
|
<version>0.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-core</artifactId>
|
|
<version>2.4.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-archaius</artifactId>
|
|
<version>2.4.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-eureka</artifactId>
|
|
<version>2.4.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.ribbon</groupId>
|
|
<artifactId>ribbon-loadbalancer</artifactId>
|
|
<version>2.4.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.servo</groupId>
|
|
<artifactId>servo-core</artifactId>
|
|
<version>0.10.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<version>4.10.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>31.1-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-configuration</groupId>
|
|
<artifactId>commons-configuration</artifactId>
|
|
<version>1.10</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.errorprone</groupId>
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
<version>2.11.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
<version>5.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>2.13.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.13.4.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>2.13.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.reactivex</groupId>
|
|
<artifactId>rxjava</artifactId>
|
|
<version>1.3.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
<artifactId>jsr305</artifactId>
|
|
<version>3.0.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.netty.incubator</groupId>
|
|
<artifactId>netty-incubator-transport-native-io_uring</artifactId>
|
|
<version>${io.netty.io_uring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-bom</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-buffer</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-http</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-tcnative-boringssl-static</artifactId>
|
|
<version>2.0.54.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-common</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-handler</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<version>${io.netty.version}</version>
|
|
<classifier>linux-x86_64</classifier>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
</project> |