Thomas Mortagne wrote:
DocumentAccessBridge is still the current way to get the context user.
Now the way ExecutionContext has been designed it will always be generic and you are supposed to use specialised API to access something like the current user (you are not supposed to know how exactly it's stored in the context) and user concept will probably always be a XWiki Platform concept anyway. Now we would like to put Platform in Maven central but we still have lots of dependencies that are not there.
Fair enough. For some reason I'm really struggling to include the right repository for Platform. What details should I be using in my settings.xml? I've included everything from the example in http://dev.xwiki.org/xwiki/bin/view/Community/Building but I still can't resolve the dependency. Thanks, Bryn