xwikisas / application-googleapps

Google Apps Integration
0 stars 4 forks source link

Update parent version to 11.10 #35

Closed acotiuga closed 2 years ago

acotiuga commented 4 years ago

Use the 9.11.x parent pom (https://github.com/xwikisas/xwikisas-parent/blob/9.11.x/xwikisas-parent-platform/pom.xml#L30). This will allow to upgrade some third-party dependencies that might be in conflict with transitive dependencies from XWiki 8.4.

polx commented 4 years ago

I've been investigating the possibility to upgrade. The upgrade requires to remove the gdata dependency and only use the GoogleDrive API to perform all operations. This will refactor Will refactor retrieveFileFromGoogle, downloadFile, saveFileToXWiki, getGoogleDocument, createOrUpdateEmbedObject, retrieveFileFromGoogle, listDocuments, listDriveDocumentsWithTypes, getDocumentList.

mflorea commented 2 years ago

@polx what's the relation between upgrading the parent version (XWiki 11.10) and gdata dependency? Why does the parent upgrade require the removal of the gdata dependency?

I've just modified the parent version in the POM and the build passes. So I assume you're referring to some runtime problem? What exactly?

mflorea commented 2 years ago

If we can install and use the latest version of this extension on XWiki 11.10+ then it means updating google-api-* dependencies doesn't block the parent update, it can be done in a separate issue later.