Changes for page Extension Repositories

Last modified by Thomas Mortagne on 2021/04/07 09:13

<
From version < 7.1 >
edited by Thomas Mortagne
on 2013/06/19 14:52
To version < 8.1 >
edited by Thomas Mortagne
on 2013/06/19 14:56
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,7 +8,6 @@
8 8  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##:
9 9  
10 10  {{code language="properties"}}
11 -#-# [Since 2.5]
12 12  #-# Repositories to use when searching and downloading extensions.
13 13  #-#
14 14  #-# The format is <id>:<type>:<url> where
... ... @@ -16,25 +16,11 @@
16 16  #-# * type is the type of the repository (maven, xwiki, etc.)
17 17  #-# * url is the URL or the root of the repository
18 18  #-#
19 -#-# [Since 4.3] It's also possible to associate various properties to each repository.
20 -#-# Here are the standard properties:
21 -#-# * user: the user to use to authenticate to the repository
22 -#-# * password: the password to use to authenticate to the repository
23 -#-#
24 24  #-# Here is an example:
25 25  # extension.repositories=privatemavenid:maven:http://host.com/private/maven/
26 26  # extension.repositories.privatemavenid.auth.user=someuser
27 27  # extension.repositories.privatemavenid.auth.password=thepassword
28 -#-#
29 -#-# Here's an example to add your local Maven Repository
30 -## Note: Since this file is parsed by Velocity in the Maven Remote Resource plugin we need to escape the
31 -## Apache Commons Configuration syntax for specifying the user.home system property!
32 -#set ($userHome = '${sys:user.home}')
33 -# extension.repositories=local:maven:file://${userHome}/.m2/repository
34 34  #-#
35 -#-# And an example to add the XWiki Maven Snapshot Repository
36 -# extension.repositories=maven-xwiki-snapshot:maven:http://nexus.xwiki.org/nexus/content/groups/public-snapshots
37 -#-#
38 38  #-# The default is:
39 39  # extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
40 40  # extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
... ... @@ -51,19 +51,24 @@
51 51  If you wish to add the XWiki Snapshot repo you'd add:
52 52  
53 53  {{code language="properties"}}
54 -...
55 55  extension.repositories=maven-xwiki-snapshot:maven:http://nexus.xwiki.org/nexus/content/groups/public-snapshots/
56 -...
57 57  {{/code}}
58 58  
59 59  If you have installed the [[Repository Application>>Repository Application]] and you wish to add it as a repository you'd add:
60 60  
61 61  {{code language="properties"}}
62 -...
63 63  extension.repositories=localxr:xwiki:http://localhost:8080/xwiki/rest/
64 -...
65 65  {{/code}}
66 66  
48 +Since 4.3 it's also possible to associate various properties to each repository.
49 +Here is an example:
50 +
51 +{{code language="properties"}}
52 +extension.repositories=privatemavenid:maven:http://host.com/private/maven/
53 +extension.repositories.privatemavenid.auth.user=someuser
54 +extension.repositories.privatemavenid.auth.password=thepassword
55 +{{/code}}
56 +
67 67  {{warning}}
68 68  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>>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server]].
69 69  {{/warning}}

Get Connected