Skip to content

Commit

Permalink
optimize: optimize the versions of the dependencies (apache#4227)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 authored Feb 16, 2022
1 parent 031f4c3 commit 314ec7c
Show file tree
Hide file tree
Showing 23 changed files with 309 additions and 273 deletions.
2 changes: 2 additions & 0 deletions build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<!-- The version of spring-boot for 'spring-boot-dependencies' and 'spring-boot-maven-plugin' -->
<spring-boot.version>2.4.13</spring-boot.version>

<!-- Maven plugin versions -->
<!-- Build -->
Expand Down
6 changes: 0 additions & 6 deletions config/seata-config-etcd3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
<dependency>
<groupId>io.etcd</groupId>
<artifactId>jetcd-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
21 changes: 0 additions & 21 deletions console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,6 @@
<packaging>jar</packaging>
<name>seata-console ${project.version}</name>

<properties>
<spring-boot.version>2.3.10.RELEASE</spring-boot.version>
<jwt.version>0.10.5</jwt.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>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -55,23 +38,19 @@
<!--<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>${jwt.version}</version>
</dependency>-->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>${jwt.version}</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>${jwt.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>${jwt.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*
* @author jameslcj
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

Expand Down
Loading

0 comments on commit 314ec7c

Please sign in to comment.