Skip to content

Commit fa23f65

Browse files
authoredFeb 27, 2025··
feat:use polaris-all for shading third-party dependencies. (#1505)
1 parent d18f3cd commit fa23f65

File tree

159 files changed

+662
-3537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+662
-3537
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@
4949
- [feat:support polaris event.](https://github.com/Tencent/spring-cloud-tencent/pull/1502)
5050
- [feat:support circuit breaker metrics reporting.](https://github.com/Tencent/spring-cloud-tencent/pull/1503)
5151
- [feat: support gateway context, feign eager-load support default value.](https://github.com/Tencent/spring-cloud-tencent/pull/1504)
52+
- [feat:use polaris-all for shading third-party dependencies.](https://github.com/Tencent/spring-cloud-tencent/pull/1505)

‎pom.xml

+53
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@
104104
<!-- Maven Plugin Versions -->
105105
<jacoco.version>0.8.12</jacoco.version>
106106
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
107+
<maven-shade-plugin.version>3.5.1</maven-shade-plugin.version>
108+
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
107109

108110
<!-- Checkstyle -->
109111
<maven-checkstyle-plugin.failsOnError>true</maven-checkstyle-plugin.failsOnError>
@@ -152,6 +154,38 @@
152154
</dependencies>
153155
</dependencyManagement>
154156

157+
<dependencies>
158+
<dependency>
159+
<groupId>org.slf4j</groupId>
160+
<artifactId>slf4j-api</artifactId>
161+
<scope>provided</scope>
162+
</dependency>
163+
164+
<dependency>
165+
<groupId>org.springframework.boot</groupId>
166+
<artifactId>spring-boot-starter-logging</artifactId>
167+
<scope>test</scope>
168+
</dependency>
169+
170+
<dependency>
171+
<groupId>org.springframework.boot</groupId>
172+
<artifactId>spring-boot-starter-test</artifactId>
173+
<scope>test</scope>
174+
</dependency>
175+
176+
<dependency>
177+
<groupId>uk.org.webcompere</groupId>
178+
<artifactId>system-stubs-jupiter</artifactId>
179+
<scope>test</scope>
180+
</dependency>
181+
182+
<dependency>
183+
<groupId>io.projectreactor</groupId>
184+
<artifactId>reactor-test</artifactId>
185+
<scope>test</scope>
186+
</dependency>
187+
</dependencies>
188+
155189
<build>
156190
<pluginManagement>
157191
<plugins>
@@ -165,13 +199,32 @@
165199
<artifactId>maven-shade-plugin</artifactId>
166200
<version>${maven-shade-plugin.version}</version>
167201
</plugin>
202+
<plugin>
203+
<groupId>org.apache.maven.plugins</groupId>
204+
<artifactId>maven-clean-plugin</artifactId>
205+
<version>${maven-clean-plugin.version}</version>
206+
</plugin>
168207
</plugins>
169208
</pluginManagement>
170209
<plugins>
171210
<plugin>
172211
<groupId>org.apache.maven.plugins</groupId>
173212
<artifactId>maven-checkstyle-plugin</artifactId>
174213
</plugin>
214+
<plugin>
215+
<groupId>org.apache.maven.plugins</groupId>
216+
<artifactId>maven-clean-plugin</artifactId>
217+
<configuration>
218+
<filesets>
219+
<fileset>
220+
<directory>${project.basedir}</directory>
221+
<includes>
222+
<include>dependency-reduced-pom.xml</include>
223+
</includes>
224+
</fileset>
225+
</filesets>
226+
</configuration>
227+
</plugin>
175228
<plugin>
176229
<groupId>org.apache.maven.plugins</groupId>
177230
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)
Please sign in to comment.