From version 3.3
edited by Vincent Massol
on 2017/09/06
To version 4.1
edited by Clemens Robbenhaar
on 2018/07/16
Change comment: this method no longer works with flavors, only with extra extension installs.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.ClemensRobbenhaar
Content
... ... @@ -2,6 +2,10 @@
2 2  This should only be used if the server in which to install XWiki has no network access, and no other means to install the user interface is available.
3 3  {{/warning}}
4 4  
5 +{{error}}
6 +This only works if you want to install extensions via the extension manager, and you know how to use the "extended search". It will not work when installing the main UI with the Distribution wizard, as it will not find the available flavors. For this, you must use an alternative method, like the [[XIP package>>doc:Documentation.AdminGuide.Installation.||anchor="HXIPpackage"]].
7 +{{/error}}
8 +
5 5  === Prerequisites ===
6 6  
7 7  * a staging / development server which has access to the internet, to collect the necessary resources from there
... ... @@ -36,6 +36,7 @@
36 36   <version>7.4</version>
37 37   <type>xar</type>
38 38   </dependency>
43 + [... add the extensions that you want to install here ...]
39 39   </dependencies>
40 40  </project>
41 41  {{/code}}
... ... @@ -61,6 +61,4 @@
61 61  extension.repositories=maven-xwiki:maven:file:/path/to/copy/of/the/.m2/repository
62 62  {{/code}}
63 63  
64 -Restart the server (if already running), remove/move away the "permanent directory" (wherever the property ##${environment.permanentDirectory}## points to) - just in case it remembers previous failed install attempt (when upgrading, better only move aside ##${environment.permanentDirectory}/jobs## ) - and access XWiki via the browser to see if the distribution wizard comes up again.
65 -
66 -This time it should find the necessary files from the local repository and install the UI.
69 +You now can install the extension offline by typing in the ##groupId:artifactId## as extension id (e.g. ##org.xwiki.contrib:xwiki-application-admintools## for the [[Admin Tools Application>>doc:extensions:Extension.Admin Tools Application]] and then the version number. (Searching for the extension by name will not work, because a file system maven repo does not support this.)

Get Connected