spring-framework/src
Brian Clozel 1bd9848d42 Add ArchUnit architecture checks
This commit adds a new custom build Plugin, the `ArchitecturePlugin`.
This plugin is using ArchUnit to enforce several rules in the main
sources of the project:

* All "package-info" should be `@NullMarked`
* Classes should not import forbidden types (like "reactor.core.support.Assert"
* Java Classes should not import "org.jetbrains.annotations.*" annotations
* Classes should not call "toLowerCase"/"toUpperCase" without a Locale
* There should not be any package tangle

Duplicate rules were removed from checkstyle as a result.
Note, these checks only consider the "main" source sets, so test
fixtures and tests are not considered. Repackaged sources like JavaPoet,
CGLib and ASM are also excluded from the analysis.

Closes gh-34276
2025-01-17 17:21:10 +01:00
..
checkstyle Add ArchUnit architecture checks 2025-01-17 17:21:10 +01:00
eclipse Update Eclipse code template to use "@⁠since 7.0" 2025-01-05 16:57:02 +02:00
idea Fix static imports handling in IntelliJ IDEA configuration 2019-09-05 14:35:54 +02:00
nohttp Merge branch '5.3.x' 2022-09-30 14:42:00 +02:00