Java 11 | Fedora 6 is built and tested using Java 11 |
Maven 3 | The Fedora 6 build uses Maven. |
Git | The Fedora repositories are on Github |
Fedora uses git, hosted on GitHub, for version control. You can find the main repository at http://github.com/fcrepo/fcrepo.
There is a style guide, which should prevent some extravagant commits full of formatting changes.
Use "mvn clean verify"
to run tests, "mvn clean install"
to build and install in local Maven repository (where it can be found by other local projects).
Integration tests use Build Helper Maven Plugin to dynamically generate configuration properties. This is used to automatically detect and configure unused ports for several server components. All dynamically generated properties should have the word "dynamic" in their name.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <configuration> <portNames> <portName>fcrepo.dynamic.test.port</portName> <portName>fcrepo.dynamic.jms.port</portName> <portName>fcrepo.dynamic.stomp.port</portName> <portName>jetty.dynamic.stop.port</portName> </portNames> </configuration> </plugin> |