Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

Fedora and external module projects use Maven3 as the build system. See also: Guide for New Developers

Dynamic build properties

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.

Example usage
<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>

Some IDEs with Maven support might complain about the use of dynamic properties as they are not defined in the <properties> section of the POMs. See: Unable to locate Jira server for this macro. It may be due to Application Link configuration.

  • No labels