arnosthavelka / spring-advanced-training

Sample project for spring advanced training
MIT License
19 stars 16 forks source link

Add spring-javaformat support #65

Open arnosthavelka opened 7 months ago

arnosthavelka commented 7 months ago

https://github.com/spring-io/spring-javaformat

https://github.com/spring-io/spring-javaformat/blob/main/spring-javaformat/spring-javaformat-checkstyle/src/main/resources/io/spring/javaformat/checkstyle/spring-checkstyle.xml

arnosthavelka commented 7 months ago

Example of the failure with a wrong formatting:

[INFO] Reactor Summary for sat-root 0.6.2-SNAPSHOT:
[INFO] 
[INFO] sat-parent ......................................... SUCCESS [  0.812 s]
[INFO] sat-core ........................................... FAILURE [  0.772 s]
[INFO] sat-jdbc ........................................... SKIPPED
[INFO] sat-jpa ............................................ SKIPPED
[INFO] sat-rest ........................................... SKIPPED
[INFO] sat-elk ............................................ SKIPPED
[INFO] sat-spring-boot-admin .............................. SKIPPED
[INFO] sat-root ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.980 s
[INFO] Finished at: 2024-01-30T08:46:42+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.spring.javaformat:spring-javaformat-maven-plugin:0.0.41:validate (default) on project sat-core: Formatting violations found in the following files:
[ERROR]  * <SAT_GIT>\sat-core\src\main\java\com\github\aha\sat\core\aop\AopConfig.java
[ERROR] 
[ERROR] Run `spring-javaformat:apply` to fix.
[ERROR] -> [Help 1]

Example of the failure with a wrong style:

[INFO] --- checkstyle:3.1.1:check (checkstyle-validation) @ sat-core ---
[INFO] There are 352 errors reported by Checkstyle 9.3 with io/spring/javaformat/checkstyle/checkstyle.xml ruleset.
[ERROR] src\main\java\com\github\aha\sat\core\aop\AopConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\aop\AopConfig.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\aop\AopConfig.java:[6,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Beverage' import.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageEnhancer.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageEnhancer.java:[5,1] (extension) SpringImportOrder: import.separation
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageEnhancer.java:[7,1] (extension) SpringImportOrder: Wrong order for 'lombok.experimental.UtilityClass' import.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageEnhancer.java:[9,1] (extension) SpringHideUtilityClassConstructor: Utility classes should not have a public or default constructor.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageEnhancer.java:[14,9] (javadoc) JavadocVariable: Missing a Javadoc comment.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageLogger.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageLogger.java:[10,1] (extension) SpringImportOrder: import.separation
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageLogger.java:[12,1] (extension) SpringImportOrder: Wrong order for 'lombok.extern.slf4j.Slf4j' import.
[ERROR] src\main\java\com\github\aha\sat\core\aop\BeverageLogger.java:[41,34] (extension) SpringCatch: Single letter catch variable (use "ex" instead).
[ERROR] src\main\java\com\github\aha\sat\core\aop\Enjoyable.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\aop\EnjoyableBeverage.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\aop\EnjoyableImpl.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\clr\Apple.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\clr\Apple.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\clr\Apple.java:[7,1] (extension) SpringImportOrder: Wrong order for 'jakarta.annotation.PostConstruct' import.
[ERROR] src\main\java\com\github\aha\sat\core\clr\CommandLineRunnerApplication.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\clr\CommandLineRunnerApplication.java:[10,1] (extension) SpringImportOrder: Wrong order for 'lombok.extern.slf4j.Slf4j' import.
[ERROR] src\main\java\com\github\aha\sat\core\clr\Pear.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\clr\Pear.java:[7,1] (extension) SpringImportOrder: Wrong order for 'jakarta.annotation.PostConstruct' import.
[ERROR] src\main\java\com\github\aha\sat\core\conditional\condition\AlcoholCondition.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\conditional\condition\AlcoholCondition.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\conditional\condition\SodaCondition.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\conditional\ConditionalConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\conditional\ConditionalConfig.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\conditional\ConditionalConfig.java:[8,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.conditional.condition.AlcoholCondition' import.
[ERROR] src\main\java\com\github\aha\sat\core\config\PropertyReader.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\config\PropertyReader.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\config\PropertyReader.java:[5,1] (extension) SpringImportOrder: Wrong order for 'lombok.Getter' import.
[ERROR] src\main\java\com\github\aha\sat\core\config\TestingConfigApplication.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\config\TestingConfigApplication.java:[3,64] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.springframework.context.annotation.FilterType.ANNOTATION.
[ERROR] src\main\java\com\github\aha\sat\core\config\TestingConfigApplication.java:[5,1] (extension) SpringImportOrder: Wrong order for 'java.security.SecureRandom' import.
[ERROR] src\main\java\com\github\aha\sat\core\config\TestingConfigApplication.java:[36,33] (extension) SpringTernary: Ternary operation missing parentheses. Use the form "(a != b) ? y : n".
[ERROR] src\main\java\com\github\aha\sat\core\config\User.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\controller\ControllerConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\controller\ControllerConfig.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[3,49] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.springframework.http.MediaType.APPLICATION_JSON_VALUE.
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[5,1] (extension) SpringImportOrder: Wrong order for 'java.util.HashMap' import.
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[20,17] (coding) RequireThis: Reference to instance variable 'data' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[21,17] (coding) RequireThis: Reference to instance variable 'data' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[22,17] (coding) RequireThis: Reference to instance variable 'data' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[23,17] (coding) RequireThis: Reference to instance variable 'data' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\controller\GreetingController.java:[28,24] (coding) RequireThis: Reference to instance variable 'data' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\controller\HelloController.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\controller\HelloController.java:[13,9] (annotation) AnnotationUseStyle: Annotation style must be 'COMPACT'.
[ERROR] src\main\java\com\github\aha\sat\core\CoreApplication.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\CoreApplication.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[23,24] (coding) RequireThis: Reference to instance variable 'users' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[30,24] (coding) RequireThis: Reference to instance variable 'users' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[37,42] (coding) RequireThis: Reference to instance variable 'users' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\JsonUserRepository.java:[38,35] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\MapperApplication.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\MapperApplication.java:[13,1] (extension) SpringImportOrder: Wrong order for 'com.fasterxml.jackson.databind.ObjectMapper' import.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\MapperApplication.java:[23,40] (coding) RequireThis: Reference to instance variable 'usersJsonResource' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\UserDTO.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\mapper\UserDTO.java:[12,24] (coding) RequireThis: Reference to instance variable 'userName' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\UserDTO.java:[20,24] (coding) RequireThis: Reference to instance variable 'firstName' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\UserDTO.java:[28,24] (coding) RequireThis: Reference to instance variable 'lastName' needs "this.".
[ERROR] src\main\java\com\github\aha\sat\core\mapper\UserRepository.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\notification\CustomEvent.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\notification\CustomEvent.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\notification\CustomListener.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\notification\CustomListener.java:[6,1] (extension) SpringImportOrder: Wrong order for 'lombok.extern.slf4j.Slf4j' import.
[ERROR] src\main\java\com\github\aha\sat\core\notification\NotificationConfig.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\postprocessor\LoggerBfpp.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\postprocessor\LoggerBfpp.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\postprocessor\LoggerBfpp.java:[7,1] (extension) SpringImportOrder: Wrong order for 'lombok.extern.slf4j.Slf4j' import.
[ERROR] src\main\java\com\github\aha\sat\core\postprocessor\PostProcessorConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\postprocessor\UpperCaseBpp.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\scope\ScopeConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\scope\ScopeConfig.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\scope\ScopeConfig.java:[3,79] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.springframework.beans.factory.config.ConfigurableBeanFactory.SCOPE_PROTOTYPE.
[ERROR] src\main\java\com\github\aha\sat\core\scope\ScopeConfig.java:[4,69] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.springframework.context.annotation.ScopedProxyMode.INTERFACES.
[ERROR] src\main\java\com\github\aha\sat\core\scope\ScopeConfig.java:[6,1] (extension) SpringImportOrder: Wrong order for 'java.util.UUID' import.
[ERROR] src\main\java\com\github\aha\sat\core\scope\TokenBean.java:[1] (misc) NewlineAtEndOfFile: File does not end with a newline.
[ERROR] src\main\java\com\github\aha\sat\core\scope\TokenBean.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\scope\TokenBean.java:[5,9] (modifier) RedundantModifier: Redundant 'public' modifier.
[ERROR] src\main\java\com\github\aha\sat\core\scope\TokenBean.java:[5,16] (modifier) RedundantModifier: Redundant 'abstract' modifier.
[ERROR] src\main\java\com\github\aha\sat\core\testing\calc\Calc.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\testing\calc\Calc.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\testing\calc\PackageConfig.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\testing\profile\BarbaraConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\testing\profile\BarbaraConfig.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\testing\profile\BarbaraConfig.java:[7,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.config.User' import.
[ERROR] src\main\java\com\github\aha\sat\core\testing\profile\RichardConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\testing\profile\RichardConfig.java:[7,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.config.User' import.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\AbstractCarbonatedBeverage.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\AbstractCarbonatedBeverage.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Beer.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Beer.java:[5,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.trait.Alcoholic' import.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Beverage.java:[1] (misc) NewlineAtEndOfFile: File does not end with a newline.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Beverage.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Coffee.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Cola.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\HotBeverage.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Soda.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\beverage\Tea.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\BeerOrder.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\BeerOrder.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\BeerOrder.java:[5,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Beer' import.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\BeverageOrder.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\ColaOrder.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\ColaOrder.java:[5,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Cola' import.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\TeaOrder.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\main\java\com\github\aha\sat\core\wiring\order\TeaOrder.java:[5,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Tea' import.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\trait\Alcoholic.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\trait\Alcoholic.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\trait\Carbonated.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\WiringConfig.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\WiringConfig.java:[1] (javadoc) JavadocPackage: Missing package-info.java file.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\WiringConfig.java:[6,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Beverage' import.
[ERROR] src\main\java\com\github\aha\sat\core\wiring\WiringConfig.java:[20,33] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[10,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Beverage' import.
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[25,28] (coding) RequireThis: Reference to instance variable 'milk' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[30,28] (coding) RequireThis: Reference to instance variable 'hotChocolade' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[31,21] (coding) RequireThis: Reference to instance variable 'hotChocolade' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[32,52] (coding) RequireThis: Reference to instance variable 'hotChocolade' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\aop\AopTest.java:[33,45] (coding) RequireThis: Reference to instance variable 'hotChocolade' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[3,43] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - ch.qos.logback.classic.Level.DEBUG.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[4,43] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - ch.qos.logback.classic.Level.INFO.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[7,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[9,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.LogUtils' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[9,1] (extension) SpringImportOrder: import.groups.separated.internally
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[11,1] (extension) SpringImportOrder: Wrong order for 'ch.qos.logback.classic.spi.ILoggingEvent' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[11,1] (extension) SpringImportOrder: import.groups.separated.internally
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[22,17] (coding) RequireThis: Reference to instance variable 'apple' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[23,17] (coding) RequireThis: Reference to instance variable 'apple' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[25,77] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\clr\AppleTest.java:[28,40] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\clr\CommandLineRunnerApplicationTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\clr\CommandLineRunnerApplicationTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\clr\CommandLineRunnerApplicationTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\CommandLineRunnerApplicationTest.java:[7,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[3,43] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - ch.qos.logback.classic.Level.DEBUG.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[4,43] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - ch.qos.logback.classic.Level.INFO.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[7,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[9,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.LogUtils' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[9,1] (extension) SpringImportOrder: import.groups.separated.internally
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[11,1] (extension) SpringImportOrder: Wrong order for 'ch.qos.logback.classic.spi.ILoggingEvent' import.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[11,1] (extension) SpringImportOrder: import.groups.separated.internally
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[22,17] (coding) RequireThis: Reference to instance variable 'pear' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[23,81] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[28,17] (coding) RequireThis: Reference to instance variable 'pear' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\clr\PearTest.java:[29,72] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[3,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[8,1] (extension) SpringImportOrder: Wrong order for 'java.util.List' import.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[13,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[15,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.beverage.Beverage' import.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[26,28] (coding) RequireThis: Reference to instance variable 'drinks' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[27,28] (coding) RequireThis: Reference to instance variable 'drinks' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[32,17] (coding) RequireThis: Reference to instance variable 'drinks' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AbstractConditionalTest.java:[32,43] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AlcoholicConditionalTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AlcoholicConditionalTest.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\test\java\com\github\aha\sat\core\conditional\AlcoholicConditionalTest.java:[4,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\conditional\SodaConditionalTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\conditional\SodaConditionalTest.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\test\java\com\github\aha\sat\core\conditional\SodaConditionalTest.java:[4,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[31,28] (coding) RequireThis: Reference to instance variable 'helloBean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[36,28] (coding) RequireThis: Reference to instance variable 'hiBean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[41,28] (coding) RequireThis: Reference to instance variable 'randomBean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\JavaConfigTest.java:[46,28] (coding) RequireThis: Reference to instance variable 'userArny' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[19,28] (coding) RequireThis: Reference to instance variable 'propertyReader' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[20,28] (coding) RequireThis: Reference to instance variable 'propertyReader' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[21,28] (coding) RequireThis: Reference to instance variable 'propertyReader' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[22,28] (coding) RequireThis: Reference to instance variable 'propertyReader' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\config\PropertyReaderTest.java:[23,28] (coding) RequireThis: Reference to instance variable 'propertyReader' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[3,49] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.springframework.http.MediaType.APPLICATION_JSON_VALUE.
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[8,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[9,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[23,17] (coding) RequireThis: Reference to instance variable 'mockMvc' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\controller\GreetingControllerTest.java:[31,17] (coding) RequireThis: Reference to instance variable 'mockMvc' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\controller\HelloControllerTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\controller\HelloControllerTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\controller\HelloControllerTest.java:[8,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\controller\HelloControllerTest.java:[9,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\CoreApplicationTests.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\CoreApplicationTests.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\CoreApplicationTests.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[3,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[7,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[12,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.scope.TokenBean' import.
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[14,1] (extension) SpringImportOrder: import.groups.separated.internally
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[26,28] (coding) RequireThis: Reference to instance variable 'bean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[37,45] (extension) SpringMethodVisibility: Method 'init' in private class should not be public.
[ERROR] src\test\java\com\github\aha\sat\core\Jsr250Test.java:[42,45] (extension) SpringMethodVisibility: Method 'destroy' in private class should not be public.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[3,43] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - ch.qos.logback.classic.Level.DEBUG.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[4,31] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.slf4j.Logger.ROOT_LOGGER_NAME.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[5,38] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.slf4j.LoggerFactory.getLogger.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[7,1] (extension) SpringImportOrder: Wrong order for 'org.slf4j.Logger' import.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[9,1] (extension) SpringImportOrder: Wrong order for 'ch.qos.logback.classic.spi.ILoggingEvent' import.
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[9,1] (extension) SpringImportOrder: import.groups.separated.internally
[ERROR] src\test\java\com\github\aha\sat\core\LogUtils.java:[13,1] (extension) SpringHideUtilityClassConstructor: Utility classes should not have a public or default constructor.
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[3,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[7,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[19,28] (coding) RequireThis: Reference to instance variable 'repo' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[24,28] (coding) RequireThis: Reference to instance variable 'repo' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\mapper\JsonUserRepositoryTest.java:[29,32] (coding) RequireThis: Reference to instance variable 'repo' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[18,17] (coding) RequireThis: Reference to instance variable 'ctx' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[18,50] (coding) RequireThis: Reference to instance variable 'ctx' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[19,17] (coding) RequireThis: Reference to instance variable 'ctx' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\notification\NotificationTest.java:[19,50] (coding) RequireThis: Reference to instance variable 'ctx' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\postprocessor\BppTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\postprocessor\BppTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\postprocessor\BppTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\postprocessor\BppTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\postprocessor\BppTest.java:[19,28] (coding) RequireThis: Reference to instance variable 'bean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\scope\ProxyModeTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\scope\ProxyModeTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\scope\ProxyModeTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\scope\ProxyModeTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\scope\ProxyModeTest.java:[19,28] (coding) RequireThis: Reference to instance variable 'bean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\scope\ProxyModeTest.java:[19,58] (coding) RequireThis: Reference to instance variable 'bean' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[3,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[6,1] (extension) SpringImportOrder: Wrong order for 'java.util.Random' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[9,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[24,25] (coding) RequireThis: Reference to instance variable 'random' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[25,25] (coding) RequireThis: Reference to instance variable 'random' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\RepeatAnnotationTest.java:[26,30] (coding) RequireThis: Reference to instance variable 'calc' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[3,32] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - java.lang.Boolean.TRUE.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[4,33] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - java.time.Duration.ofMillis.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[5,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[7] (regexp) RegexpSinglelineJava: Please use AssertJ imports.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[9,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[10,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\testing\calc\TimedAnnotationTest.java:[22,9] (annotation) AnnotationUseStyle: Annotation cannot have closing parenthesis.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\AbstractConfigTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\AbstractConfigTest.java:[1] (extension) SpringHeader: header.missing
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\AbstractConfigTest.java:[6,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.config.User' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\BarbaraConfigTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\BarbaraConfigTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\BarbaraConfigTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\BarbaraConfigTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\RichardConfigTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\RichardConfigTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\RichardConfigTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\profile\RichardConfigTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[3,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[6,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[13,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.config.User' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDefaultConfigTest.java:[25,28] (coding) RequireThis: Reference to instance variable 'user' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[3,41] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - org.hamcrest.MatcherAssert.assertThat.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[6,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[13,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.config.User' import.
[ERROR] src\test\java\com\github\aha\sat\core\testing\XmlDirectConfigTest.java:[25,28] (coding) RequireThis: Reference to instance variable 'user' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[3,31] (extension) SpringAvoidStaticImport: Using a static member import should be avoided - java.util.Arrays.asList.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[6,1] (extension) SpringImportOrder: Wrong order for 'java.util.Collection' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[9,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[12,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.WiringConfig' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[33,28] (coding) RequireThis: Reference to instance variable 'beverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[34,28] (coding) RequireThis: Reference to instance variable 'beverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[39,28] (coding) RequireThis: Reference to instance variable 'carbonatedBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[40,28] (coding) RequireThis: Reference to instance variable 'carbonatedBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[45,28] (coding) RequireThis: Reference to instance variable 'hotBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[46,35] (coding) RequireThis: Reference to instance variable 'hotBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[51,28] (coding) RequireThis: Reference to instance variable 'alcoholicBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageCollectionWiringTest.java:[52,28] (coding) RequireThis: Reference to instance variable 'alcoholicBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'java.util.Map' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[11,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.WiringConfig' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[29,28] (coding) RequireThis: Reference to instance variable 'beverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[34,28] (coding) RequireThis: Reference to instance variable 'carbonatedBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[39,28] (coding) RequireThis: Reference to instance variable 'alcoholicBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageMapWiringTest.java:[40,28] (coding) RequireThis: Reference to instance variable 'alcoholicBeverages' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[10,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.WiringConfig' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[32,28] (coding) RequireThis: Reference to instance variable 'soda' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[37,28] (coding) RequireThis: Reference to instance variable 'qualifiedBeverage' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[42,28] (coding) RequireThis: Reference to instance variable 'cola' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\beverage\BeverageSingleWiringTest.java:[47,28] (coding) RequireThis: Reference to instance variable 'coldBeer' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'java.util.Collection' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[11,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.WiringConfig' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[42,28] (coding) RequireThis: Reference to instance variable 'allOrders' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[46,45] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[51,28] (coding) RequireThis: Reference to instance variable 'carbonatedOrders' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[51,55] (coding) RequireThis: Reference to instance variable 'beerOrder' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[51,66] (coding) RequireThis: Reference to instance variable 'colaOrder' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[51,77] (coding) RequireThis: Reference to instance variable 'sodaOrder' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderCollectionWiringTest.java:[52,50] (extension) SpringLambda: Lambda argument missing parentheses.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderMapWiringTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderMapWiringTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderMapWiringTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'java.util.Map' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderMapWiringTest.java:[8,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderMapWiringTest.java:[11,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.WiringConfig' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderMapWiringTest.java:[22,28] (coding) RequireThis: Reference to instance variable 'carbonatedOrders' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[1] (extension) SpringHeader: Line does not match expected header line of '^\Q/*\E$'.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[1] (extension) SpringTestFileName: Test classes should have a name ending with Tests.java.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[5,1] (extension) SpringImportOrder: Wrong order for 'org.junit.jupiter.api.Test' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[6,1] (extension) SpringImportOrder: import.separation
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[10,1] (extension) SpringImportOrder: Wrong order for 'com.github.aha.sat.core.wiring.WiringConfig' import.
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[35,28] (coding) RequireThis: Reference to instance variable 'teaOrder' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[40,51] (coding) RequireThis: Reference to instance variable 'sodaOrder' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[45,51] (coding) RequireThis: Reference to instance variable 'beverageOrder' needs "this.".
[ERROR] src\test\java\com\github\aha\sat\core\wiring\order\OrderSingleWiringTest.java:[51,51] (coding) RequireThis: Reference to instance variable 'beerOrder' needs "this.".
[ERROR] src\main\resources\application.properties:[1] (misc) NewlineAtEndOfFile: File does not end with a newline.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for sat-root 0.6.2-SNAPSHOT:
[INFO] 
[INFO] sat-parent ......................................... SUCCESS [  1.965 s]
[INFO] sat-core ........................................... FAILURE [  1.730 s]
[INFO] sat-jdbc ........................................... SKIPPED
[INFO] sat-jpa ............................................ SKIPPED
[INFO] sat-rest ........................................... SKIPPED
[INFO] sat-elk ............................................ SKIPPED
[INFO] sat-spring-boot-admin .............................. SKIPPED
[INFO] sat-root ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.085 s
[INFO] Finished at: 2024-01-31T08:37:05+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:check (checkstyle-validation) on project sat-core: You have 352 Checkstyle violations. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
arnosthavelka commented 7 months ago

To be tuned: