VIVO Documentation
Page History
...
Code Block | ||
---|---|---|
| ||
vivo-1.9.0-rel/ pom.xml defaultexample-settings.xml home/ pom.xml src solr/ pom.xml src webapp/ pom.xml src |
...
This file needs to be created following the Maven Settings Reference. A template file already exists within the VIVO project, called "defaultexample-settings.xml". You may copy this file (it can be called anything you like), and edit the contents to fit your requirements / system configuration.
...
Once you have an appropriate settings file (these instructions will assume that you are using defaultexample-settings.xml - replace this with your actual file), you simply need to run Maven, specifying the install goal, and your settings file.
Code Block | ||
---|---|---|
| ||
$ cd VIVO VIVO$ mvn install -s defaultexample-settings.xml [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Vitro [INFO] Vitro Dependencies [INFO] Vitro API [INFO] VIVO [INFO] VIVO API [INFO] Vitro Web App [INFO] VIVO Web App [INFO] Vitro Home [INFO] VIVO Home [INFO] Vitro Solr App [INFO] VIVO Installer [INFO] VIVO Prepare Home [INFO] VIVO Prepare Solr App [INFO] VIVO Prepare Web App [INFO] .... |
...
This file needs to be created following the Maven Settings Reference. A template file already exists in the "installer" directory within the VIVO project, called "defaultexample-settings.xml". You may copy this file (it can be called anything you like), and edit the contents to fit your requirements / system configuration.
...
Once you have an appropriate settings file (these instructions will assume that you are using installer/defaultexample-settings.xml - replace this with your actual file), you simply need to run Maven, specifying the install goal, and your settings file.
Code Block | ||
---|---|---|
| ||
$ cd VIVO VIVO$ mvn install -s installer/defaultexample-settings.xml [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Vitro [INFO] Vitro Dependencies [INFO] Vitro API [INFO] VIVO [INFO] VIVO API [INFO] Vitro Web App [INFO] VIVO Web App [INFO] Vitro Home [INFO] VIVO Home [INFO] Vitro Solr App [INFO] VIVO Installer [INFO] VIVO Prepare Home [INFO] VIVO Prepare Solr App [INFO] VIVO Prepare Web App [INFO] .... |
...
Panel | |||||
---|---|---|---|---|---|
Custom InstallerIf you want to use the source code / GitHub clone with your own customisations, you can exclude the supplied installer project, and use your own customized installer project instead. To do so, you need to supply the location of your custom installer project as the "vivo-installer-dir" property. This can be done on the command line, or in the settings.xml. If you are supplying a relative path, it should be relative to the location of the VIVO/pom.xml.
The VIVO home directory will now be created, the VIVO application installed to Tomcat, including any customizations that are defined in your local installer project. |
...