首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Maven插件控制项目架构

Maven插件控制项目架构

  • 资源大小:102.88 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: maven 插件 控制 项目 架构

资 源 简 介

Spaghetti-killer is a maven plugin intended to get sure project architecture is not broken. In other word it prevents so called "spaghetti code" Though there are a lot of products to control inter-layer dependencies, this plugin has following 2 advantages: 1) You may easily define architectural layers by yourself, using logical operations (and,or,not) and predefined "probes" like "if class implements interface", "if class name contains substring", "if class is annotated with", "if class extends with" etc. 2) It allows check if layer has hierarchical structure (if it is a tree, in other words) and even if 2 hierarchical layers are nested (which is useful for building widgets-controller based architecture) Sample of configuration: ```
VIP VIP
0.173864s