is there any restriction for using external libraries with java adapters in IBM MobileFirst 8.0?
When I added guava my code have no errors (mfpdev adapter build Success), but when deploying to my server it respond with error:
[ERROR] Failed to execute goal com.ibm.mfp:adapter-maven-plugin:8.0.2016082422:deploy (default-cli) on project X: The output of /mfpadmin/management-apis/2.0/runtimes/mfp/adapters is of type text/html, which is unsupported. Expected an output of type text/xml or application/xml or application/json. -> [Help 1]
But when I delete guava in pom (mvn dependencies) I am able to deploy adapter. Problem as I can see happen to some other libraries also. Is there any option to use such libraries?
mfpdev -v: 8.0.0-2017012016
EDIT: I finally resolved problem by setting scope for guava in pom file:
<scope>provided</scope>