Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Prerequisites

See the release notes for the most up to date information on the prerequisites

...

Code Block
collapsetrue
[INFO] Unable to find resource 'javax.resource:connector-api:jar:1.5' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) javax.resource:connector-api:jar:1.5

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.resource -DartifactId=connector-api -Dversion=1.5 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=javax.resource -DartifactId=connector-api -Dversion=1.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) org.fcrepo:fcrepo-common:jar:3.5-SNAPSHOT
        2) org.fcrepo:mulgara-core:jar:2.1.4
        3) javax.resource:connector-api:jar:1.5

----------
1 required artifact is missing.

Maven Targets

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:

...

Back to Installation and Configuration Guide

...