main
HuangHai 1 month ago
parent eb67c46491
commit 3b9b517d99

@ -173,6 +173,12 @@
<artifactId>dsUtils</artifactId>
<version>1.0</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

@ -11,7 +11,6 @@
<version>1.0</version>
</parent>
<dependencies>
<!--jfinal主框架-->
<dependency>
@ -99,26 +98,14 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.9</version>
</dependency>
<!-- Log4j2 实现 -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>2.20.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.20.0</version>
<version>${slf4j.version}</version>
</dependency>
<!-- 添加Logback依赖 -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.20.0</version>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
<dependency>

@ -15,6 +15,23 @@
<module>dsAi</module>
<module>dsSso</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- 全局排除Log4j2 -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.20.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.20.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 使用阿里 maven 库 -->
<repositories>
<repository>

Loading…
Cancel
Save