Commit cc84cca4 authored by 孙 楠's avatar 孙 楠

使用子包管理依赖

parent 98bb4589
This diff is collapsed.
......@@ -3,7 +3,7 @@
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>
<artifactId>commons-parent</artifactId>
<artifactId>qg-boot-parent</artifactId>
<groupId>cn.quantgroup.boot</groupId>
<version>${revision}</version>
</parent>
......@@ -13,6 +13,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
......
......@@ -2,24 +2,164 @@
<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>
<artifactId>commons-parent</artifactId>
<groupId>cn.quantgroup</groupId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-application-dependencies</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<properties>
<revision>2.6.3</revision>
<spring-boot.version>2.6.3</spring-boot.version>
<spring-cloud.version>2021.0.1</spring-cloud.version>
<spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
<lombok.version>1.18.22</lombok.version>
<guava.version>31.1-jre</guava.version>
<apollo.client.version>1.9.2</apollo.client.version>
<brave.version>5.13.7</brave.version>
<zipkin-reporter2.version>2.16.3</zipkin-reporter2.version>
<zipkin-kafka.version>2.8.2</zipkin-kafka.version>
<okhttp.version>4.9.3</okhttp.version>
<transmittable-thread-local.version>2.12.4</transmittable-thread-local.version>
<aspectj.version>1.9.8</aspectj.version>
<mysql.version>8.0.27</mysql.version>
<spring-kafka.version>2.8.3</spring-kafka.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</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>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-dynamic-datasource</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-brave-starter</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-idgenerator</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-enoch-agent</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-apollo-starter</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cn.quantgroup.boot</groupId>
<artifactId>qg-web-starter</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId>
<version>${apollo.client.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<!-- enoch client -->
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
<version>${spring-kafka.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<!-- zipkin -->
<dependency>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-sender-kafka11</artifactId>
<version>${zipkin-kafka.version}</version>
</dependency>
<dependency>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave-bom</artifactId>
<version>${brave.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave-context-slf4j</artifactId>
<version>${brave.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>${transmittable-thread-local.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<distributionManagement>
<repository>
<id>qg-releases</id>
<name>Nexus Releases Repository</name>
<url>http://repo.quantgroup.cn/nexus/content/repositories/lkb-releases/</url>
</repository>
<snapshotRepository>
<id>qg-snapshots</id>
<name>Nexus Snapshots Repository</name>
<url>http://repo.quantgroup.cn/nexus/content/repositories/lkb-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>
\ No newline at end of file
......@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>commons-parent</artifactId>
<artifactId>qg-boot-parent</artifactId>
<groupId>cn.quantgroup.boot</groupId>
<version>${revision}</version>
</parent>
......@@ -84,6 +84,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
......
package cn.quantgroup.boot.tech.brave.configuration;
import cn.quantgroup.boot.tech.brave.interceptor.impl.*;
import cn.quantgroup.boot.tech.brave.interceptor.HttpClientRequestInterceptor;
import cn.quantgroup.boot.tech.brave.interceptor.OkHttpClientInterceptor;
import cn.quantgroup.boot.tech.brave.interceptor.RestTemplateRequestInterceptor;
import cn.quantgroup.tech.brave.interceptor.impl.*;
import cn.quantgroup.boot.tech.brave.interceptor.impl.*;
import okhttp3.Interceptor;
import org.apache.http.HttpRequestInterceptor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
......
......@@ -12,8 +12,6 @@ import cn.quantgroup.boot.tech.brave.properties.BraveProperties;
import cn.quantgroup.boot.tech.brave.properties.ServiceProperties;
import cn.quantgroup.boot.tech.brave.service.*;
import cn.quantgroup.boot.tech.brave.service.impl.*;
import cn.quantgroup.tech.brave.service.*;
import cn.quantgroup.tech.brave.service.impl.*;
import lombok.extern.slf4j.Slf4j;
import okhttp3.OkHttpClient;
import org.apache.http.client.HttpClient;
......
......@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>commons-parent</artifactId>
<artifactId>qg-boot-parent</artifactId>
<groupId>cn.quantgroup.boot</groupId>
<version>${revision}</version>
</parent>
......@@ -64,7 +64,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<scope>provided</scope>
</dependency>
......
......@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>commons-parent</artifactId>
<artifactId>qg-boot-parent</artifactId>
<groupId>cn.quantgroup.boot</groupId>
<version>${revision}</version>
</parent>
......@@ -34,7 +34,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
......@@ -3,7 +3,7 @@
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>
<artifactId>commons-parent</artifactId>
<artifactId>qg-boot-parent</artifactId>
<groupId>cn.quantgroup.boot</groupId>
<version>${revision}</version>
</parent>
......@@ -28,7 +28,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
......
<?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>
<artifactId>qg-boot-parent</artifactId>
<groupId>cn.quantgroup.boot</groupId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>qg-web-starter</artifactId>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package cn.quantgroup.boot.tech.util;
package cn.quantgroup.boot.web.util;
import com.ctrip.framework.foundation.Foundation;
import lombok.extern.slf4j.Slf4j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment