jqassistant-plugin / jqassistant-spring-plugin

@jQAssistant plugin with concepts and constraints for the Spring Framework
http://jqassistant.org/
GNU General Public License v3.0
0 stars 1 forks source link
design jqassistant plugin rules spring

= jQAssistant Spring Framework Plugin

This is the Spring Framework Plugin of https://jqassistant.org[jQAssistant]. It provides pre-defined rules for projects using the http://www.spring.org/[Spring Framework], e.g.:

Recommends to use @PostConstruct and @PreDestroy over implementing InitializingBean and DisposableBean. Recommends to directly inject BeanFactory, ApplicationContext, and ApplicationEventPublisher instead of implementing callback interfaces.

For more information on jQAssistant see https://jqassistant.org[^].

== Usage

NOTE:: Starting from jqassistant-spring-plugin v2.0.0, the Spring-Plugin resides under jqassistant-plugin. Therefore, not only the repository location changed but also group id and artifact id were adapted from com.buschmais.jqassistant.plugin:spring to org.jqassistant.plugin:jqassistant-spring-plugin. A manual configuration as shown below is required.

To execute rules, you just need to activate the desired group of rules, either "spring-boot:Default" or "spring-boot:Strict"

[source,yaml]

jqassistant: plugins:

== Changelog

=== 2.2.0

=== 2.0.0

=== 1.12.1

=== 1.12.0

=== 1.10.0

=== 1.9.0

=== 1.8.0

=== 1.7.0

=== 1.5.0

=== 1.4