项目作者: McFoggy

项目描述 :
demo project to force annotation on types using annotation processing
高级语言: Java
项目地址: git://github.com/McFoggy/force-annotation-demo.git
创建时间: 2016-11-26T10:55:21Z
项目社区:https://github.com/McFoggy/force-annotation-demo

开源协议:

下载


responsible annotations

Demo project for a blog post on how to enforce the definition of annotations on java types using annotation processing.

When building: mvn clean install, the build MUST fail with the following error:

  1. [INFO] -------------------------------------------------------------
  2. [ERROR] COMPILATION ERROR :
  3. [INFO] -------------------------------------------------------------
  4. [ERROR] fr.brouillard.oss.app.ServiceTwo must be annotated with @fr.brouillard.oss.annotation.Responsible to declare a ownership
  5. [INFO] 1 error