Versions Compared

Key

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

...

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.

...

Building the Installer

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

Panel

mvn clean install -

...

Dintegration.test.skip=true

This will take a long time to run the first time, since many dependent libraries must be loaded from various maven repositories if they're not already present on your system. When finished, you'll find the installer at:

Panel
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
    mvn install -Dintegration.test.skip=true
    • runs all unit tests
    • skips all integration tests
  2. mvn install -Dmaven.test.skip=true
    • skips all unit tests
    Wiki Markup
    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