2017-02-21 40 views
0

documentation之後,應檢查所有約束條件爲嚴重性MAJOR,並將所有概念檢查爲MINORjQassistant的默認嚴重性

如果我看的日誌我的項目,我發現

[INFO] Reading rules from directory C:\seu\sandboxes\github\sze_spring\jqassistant 
[INFO] Executing group 'default' 
[INFO] Executing group 'package:Default' 
[INFO] Applying concept 'dependency:Package' with severity: 'MINOR'. 
[INFO] Validating constraint 'package:Cycles' with severity: 'INFO'. 
[INFO] Executing group 'maven:Default' 
[INFO] Executing group 'test:Default' 
[INFO] Applying concept 'junit4:TestMethod' with severity: 'MINOR'. 
[INFO] Applying concept 'junit4:TestClass' with severity: 'MINOR'. 
[INFO] Validating constraint 'test:UnitTestClassName' with severity: 'INFO'. 
[INFO] Executing group 'layer:Default' 
[INFO] Applying concept 'structure:RootPackage' with severity: 'MINOR'. 
[INFO] Applying concept 'layer:Layer' with severity: 'MINOR'. 
[INFO] Applying concept 'layer:LayerDependency.graphml' with severity: 'MINOR'. 
[INFO] Applying concept 'layer:WantedRelations' with severity: 'MINOR'. 
[INFO] Applying concept 'layer:ExistingRelations' with severity: 'MINOR'. 
[INFO] Validating constraint 'layer:Cycles' with severity: 'INFO'. 
[INFO] Validating constraint 'layer:ForbiddenRelations' with severity: 'INFO'. 
[INFO] Executing group 'structure:Default' 
[INFO] Applying concept 'structure:Slice' with severity: 'MINOR'. 
[INFO] Applying concept 'structure:SliceDependency.graphml' with severity: 'MINOR'. 
[INFO] Validating constraint 'structure:ServiceDependency' with severity: 'INFO'. 
[INFO] Applying concept 'maven:InternalFile' with severity: 'MINOR'. 
[INFO] Validating constraint 'structure:RootPackage' with severity: 'INFO'. 
[INFO] Validating constraint 'structure:JobsDependency' with severity: 'INFO'. 
[INFO] Validating constraint 'structure:FrontendDependency' with severity: 'INFO'. 

因此,它看起來對我來說,默認嚴重性爲INFOMINOR

我在整個項目中搜索了關鍵字severity,但只能找到checkstyle.xml中的某人。

那麼這是文檔中的錯誤還是錯過了我的東西?

回答