mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.5.x' into 2.6.x
Closes gh-30431
This commit is contained in:
commit
35d8f1dcdd
@ -13,7 +13,7 @@
|
||||
name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
|
||||
<property name="regexp" value="true" />
|
||||
<property name="illegalPkgs"
|
||||
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|logging|pool2).*, ^com\.datastax\.oss\.driver\.shaded.*, ^com\.google\.common.*, ^io\.micrometer\.shaded.*, ^org\.flywaydb\.core\.internal.*, ^org\.testcontainers\.shaded.*" />
|
||||
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|logging|pool2).*, ^com\.datastax\.oss\.driver\.shaded.*, ^com\.google\.common.*, ^io\.micrometer\.shaded.*, ^org\.flywaydb\.core\.internal.*, ^org\.jetbrains\.annotations.*, ^org\.testcontainers\.shaded.*" />
|
||||
<property name="illegalClasses"
|
||||
value="^com\.hazelcast\.util\.Base64, ^org\.junit\.rules\.ExpectedException, ^org\.mockito\.InjectMocks, ^org\.slf4j\.LoggerFactory, ^org.springframework.context.annotation.ScannedGenericBeanDefinition, ^reactor\.core\.support\.Assert"/>
|
||||
</module>
|
||||
|
@ -2,6 +2,7 @@
|
||||
<!DOCTYPE import-control PUBLIC "-//Checkstyle//DTD ImportControl Configuration 1.4//EN" "https://checkstyle.org/dtds/import_control_1_4.dtd">
|
||||
<import-control pkg="org.springframework.boot">
|
||||
<disallow pkg="io.micrometer" />
|
||||
<disallow pkg="org.springframework.lang" />
|
||||
<allow pkg=".*" regex="true" />
|
||||
<subpackage name="autoconfigure">
|
||||
<disallow class="org.springframework.boot.autoconfigure.jdbc.DataSourceProperties"/>
|
||||
@ -45,6 +46,13 @@
|
||||
<subpackage name="endpoint">
|
||||
<disallow pkg="org.springframework.http" />
|
||||
<disallow pkg="org.springframework.web" />
|
||||
<subpackage name="invoke">
|
||||
<subpackage name="reflect">
|
||||
<file name="OperationMethodParameter">
|
||||
<allow pkg="org.springframework.lang"/>
|
||||
</file>
|
||||
</subpackage>
|
||||
</subpackage>
|
||||
<subpackage name="web">
|
||||
<allow pkg="org.springframework.http" />
|
||||
<allow pkg="org.springframework.web" />
|
||||
@ -56,6 +64,9 @@
|
||||
</subpackage>
|
||||
</subpackage>
|
||||
</subpackage>
|
||||
<file name=".*Endpoint(WebExtension)?" regex="true">
|
||||
<allow pkg="org.springframework.lang"/>
|
||||
</file>
|
||||
</subpackage>
|
||||
|
||||
<subpackage name="docs">
|
||||
|
Loading…
Reference in New Issue
Block a user