Sorry for the delay with the answer, we had to check all these dependencies in different use-cases.
If you do not use the custom meta-data storage functionality then you can freely remove these three dependencies:
But this one should remain:
It’s used in the Utils class constant variable.
From your pom file you can freely remove this dependency:
In general there are two ways of including the GroupDocs.Annotation for Java library (slim version) into your project.
First is to install only the slim jar file using install:install-file command:
mvn install:install-file -Dpackaging=jar -Dversion=1.7.0 -DgroupId=com.groupdocs -DartifactId=groupdocs-annotation -Dfile=groupdocs-annotation-1.7.0.jar
Then there will be no dependencies declared and you can declare only those that will be 100% used in your project.
It’s hard to say what else should be included into your pom file without seeing the usage of the GroupDocs.Annotation library. Probably, as for the internal GroupDocs.Annotation pom, this one should also be included, because it’s used in the AnnotationHandler:
If you can provide some project to examine it, then we will be able to assist you better.