FWIW, only WebResourceTransformerFactory needs to be implemented, not DimensionAwareWebResourceTransformerFactory which has all this extra Cloud stuff (called prebake) being deleted in the upcoming major.
The WRM also has an example, which also utilises the optional TwoPhaseResourceTransformer system (don’t need to worry about it). The gist of it is the language goes in the URL of the web-resource and becuase languages should only change when plugin modules come and go (the WRM rebuilds everything when this happens), that’s enough.
However, the ‘latest’ tag on hub.docker.com/r/atlassian/confluence still refers to version 8.7.2 rather than 8.8.0, so it looks as if the release was not not complete.
We’re working on making our apps compatible with building against Confluence 8.8 now and still haven’t figured out where several classes we were using in com.atlassian.confluence.rest.api.model went. This package is in the javadoc I found online: com.atlassian.confluence.rest.api.model (Atlassian Confluence 8.8.0 API)
We also can’t easily download the source like we used to be able to figure it out on our own, which is it’s own fiasco.
@rw-dennis , you mentioned this package in your post, did you figure this out?
Can anyone from Atlassian chime in here on where these things went?
And it seems to be buying this. I compile my app towards a lower Confluence version (7.17.0) but it seems to compile also against 8.8.0 and our tests are working. Not saying this will work on 9.0 though, haven’t looked closer at that yet.
@rw-dennis I just released my Confluence 8.8 compatible app to the Marketplace.
Here you can see my full pom.xml. I also have REST-API Endpoints. Maybe it helps:
But I also wished Atlassian would provide a good example POM …