From version < 10.1 >
edited by Krzysztof Płachno
on 2017/08/09 13:53
To version < 11.1 >
edited by Krzysztof Płachno
on 2017/08/09 13:55
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,6 +2,8 @@
2 2  
3 3  * [[Maven]]
4 4  * [[XWiki]]
5 +
6 +Contrib connectors:
5 5  * [[Bintray>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension%20Repository%20Connector%20-%20Bintray/]] (optionally)
6 6  * [[PyPi>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension%20Repository%20Connector%20-%20Pypi/]] (optionally)
7 7  

Extension Manager support the following repositories:

Contrib connectors:

Configuring Extension Repositories

You can control the list of Repositories to use by setting the extension.repositories property in your xwiki.properties file. Here's the documentation you'll find when editing xwiki.properties:

#-# Repositories to use when searching and downloading extensions.
#-# 
#-# The format is :: where
#-# * id can be anything as long as there is only one
#-# * type is the type of the repository (maven, xwiki, etc.)
#-# * url is the URL or the root of the repository
#-# 
#-# Here is an example:
# extension.repositories=privatemavenid:maven:http://host.com/private/maven/
# extension.repositories.privatemavenid.auth.user=someuser
# extension.repositories.privatemavenid.auth.password=thepassword
#-#
#-# The default is:
# extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
# extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/

Thus for example if you wish to add your local Maven repository (/.m2/repository in this case) so that you can test an extension you'd have built locally with Maven you'd write:

extension.repositories=local:maven:file://${sys:user.home}/.m2/repository
extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/

If you wish to add the XWiki Snapshot repo you'd add:

extension.repositories=maven-xwiki-snapshot:maven:http://nexus.xwiki.org/nexus/content/groups/public-snapshots/

If you have installed the Repository Application and you wish to add it as a repository you'd add:

extension.repositories=localxr:xwiki:http://localhost:8080/xwiki/rest/

Since 4.3 it's also possible to associate various properties to each repository.
Here is an example:

extension.repositories=privatemavenid:maven:http://host.com/private/maven/
extension.repositories.privatemavenid.auth.user=someuser
extension.repositories.privatemavenid.auth.password=thepassword

If your wiki runs behind proxy server, you'd need to make additional configurations in order for extension manager to work properly as described in Installation Guide.

Get Connected