I am trying to build the latest odl controller project from the sources ( https://github.com/opendaylight/controller.git ). "mvn clean install" always fails with the error below.
Am I using incorrect os/tool versions?? (But from the info given in readme, it does look ok; wondering what is the issue here)
This is my build environment:
OS: Fedora-22 (4.0.4-301.fc22.x8664)
JDK: 1.8.0 (java-1.8.0-openjdk-220.127.116.11-36.b13.fc22.x8664)
mvn: 3.2.5 (NON-CANONICAL2015-04-01T06:42:27mockbuild)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project sal-inmemory-datastore: There are test failures.
[ERROR] Please refer to /home/store/octeon_build/cloudhsm/odl/cup/controller/opendaylight/md-sal/sal-inmemory-datastore/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :sal-inmemory-datastore</goals>