Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Installation from Source
Anchor
source
source

Info
titleFedora 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.

To build the installer, at a command prompt, enter:

Panel

mvn clean install -P fedora-installer

Once the build has been run with the fedora-installer profile (-P), you will be able to run the Fedora installer application. To start the installer, at a command prompt, enter:

Panel

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:

Panel
  1. mvn clean install
    • builds all source code
    • runs all unit & integration tests
  2. mvn install -Dintegration.test.skip=true
    • runs all unit tests
    • skips all integration tests
  3. mvn install -Dmaven.test.skip=true
    • skips all unit tests
  4. mvn integration-test -P config[A|B|C|Q]
    • runs system tests per given configuration.  For details on what each system test does, see the README at the root of the source distribution.

Back to Installation and Configuration Guide