Create a jar file that contains all the annotations from the project artifacts.
See example
Maven dependency:
<dependency>
<groupId>com.github.barakb</groupId>
<artifactId>annotations-jar-plugin</artifactId>
<version>1.0</version>
</dependency>