Skip to content

McFoggy/force-annotation-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

Releases

No releases published

Packages

No packages published

Languages