Skip to content
demo project to force annotation on types using annotation processing
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn
responsible-annotations
responsible-demo
.gitignore
README.md
pom.xml

README.md

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
You can’t perform that action at this time.