Contribute to the DSpace Development Fund
The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.
Details
If your web connection to the Internet has to go through a web proxy server, then maven needs to be told about this in order to download code libraries and pre-requisites for the installation of DSpace.
Error message
If you do not set the proxy settings, you may see an error like htis:
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-site-plugin Version: 2.0-beta-7 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7 from the specified remote repositories: central (http://repo1.maven.org/maven2), maven.dspace.org-snapshot (http://maven.dspace.org/snapshot)
How
Edit Maven's 'settings.xml' file. There is often a master copy of this file found in a location such as 'MAVEN_HOME/conf/settings.xml' or '/etc/maven/settings.xml', or you can edit your local copy in ~/.m2/settings.xml.
Edit settings.xml to look something like this:
<settings> <proxies> <proxy> <id>optional</id> <active>true</active> <protocol>http</protocol> <username>proxyuser</username> <password>proxypass</password> <host>wwwcache.example.com</host> <port>8080</port> <nonProxyHosts>localhost,*.example.com</nonProxyHosts> </proxy> </proxies> </settings>