Skip to content

geraldhuard/fcrepo4

 
 

Repository files navigation

Fedora 4

Build Status

JavaDocs | Fedora Wiki | Use cases | REST API |

Technical goals:

  • Improved scalability and performance
  • More flexible storage options
  • Improved reporting and metrics
  • Improved durability

Building & running fcrepo4 from source

System Requirements

  • Java 8
  • Maven 3
$ git clone https://github.com/fcrepo4/fcrepo4.git
$ cd fcrepo4
$ MAVEN_OPTS="-Xmx1024m" mvn install
$ cd fcrepo-webapp
$ MAVEN_OPTS="-Xmx512m" mvn jetty:run

Note: You may need to set the $JAVA_HOME property, since Maven uses it to find the Java runtime to use, overriding your PATH. mvn --version will show which version of Java is being used by Maven, e.g.:

Java version: 1.8.0_31, vendor: Oracle Corporation
Java home: /usr/local/java-1.8.0_31/jre

To set your $JAVA_HOME environment variable:

JAVA_HOME=/path/to/java

If you have problems building fcrepo4 with the above settings, you may need to also pass options to the JaCoCo code coverage plugin:

$ MAVEN_OPTS="-Xmx1024m" mvn -Djacoco.agent.it.arg="-Xmx1024m" -Djacoco.agent.ut.arg="-Xmx1024m"  clean install

That's it! Your Fedora repository is up and running at: http://localhost:8080/rest/

Packages

No packages published

Languages

  • Java 99.2%
  • Other 0.8%