Hello Mariusz,
Sorry for the delay with the answer, we had to check all these dependencies in different use-cases.
Here
https://github.com/groupdocs are only those libraries that are absent in the Maven central repository, so you have to install them manually. We provide it to eliminate searching them on the web.
If you do not use the custom meta-data storage functionality then you can freely remove these three dependencies:
mysql
mysql-connector-java
5.1.32
com.microsoft.sqlserver
sqljdbc4
4.0
org.postgresql
postgresql
9.3-1102-jdbc4
</dependen
But this one should remain:
com.thoughtworks.xstream
xstream
1.3.1
It’s used in the Utils class constant variable.
From your pom file you can freely remove this dependency:
com.microsoft.sqlserver
sqljdbc4
4.0
jar
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.
com.groupdocs
groupdocs-annotation
${groupdocs.annotation}
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:
javax.servlet
javax.servlet-api
${servlet.version}
provided
If you can provide some project to examine it, then we will be able to assist you better.