Installation from SourceFedora now builds with Maven As of version 3.3, Fedora is now built with Maven instead of Ant. This document describes how to build Fedora 3.3 from source -- instructions for building Fedora 3.2.x are still available here. PrerequisitesSee the release notes for the most up to date information on the prerequisites Java JDK (Tested with Oracle JDK 1.6) You must install Maven on your build platform (or use an IDE like Eclipse that has Maven integrated into it) as a prerequisite for building from source. There are a number of options for installing Maven and most will work for building from source. DuraSpace currently maintains a Maven repository for several critical third party libraries that are not provided in Maven Central, the software supplier's repository or one of several large, stable public repositories. However, because of licensing, DuraSpace cannot store a copy of some resources, notably some key Oracle (formerly Sun) Java libraries. Libraries (and dependencies) change with each release. Your customizations may also cause a change in dependencies. If you encounter a build error such as the one shown below, follow the instructions to obtain a copy of the dependency and install it in your local Maven repository. Maven TargetsTo build the installer, at a command prompt, enter: mvn clean install -P fedora-installer java -jar fcrepo-installer/target/fcrepo-installer-VERSION.jar Please ensure that the user account that is running the installer has sufficient permissions to write to the directories where Fedora will be installed (if deploying to an existing Tomcat installation, this includes permissions to the Tomcat directory). For more information on the Installer, see the Installation instructions in the Installation and Configuration Guide. Other useful build targets in the source distribution include:
Back to Installation and Configuration Guide Unable to render {include} The included page could not be found.
|