Hi Folks,

Just trying to figure out how to build JSPWiki from source (not being in the habit of regularly building software). Last time I had to do this it was simply a matter of checking out the source, and running 'ant war' on it. Looks like Maven is now preferred.

I'm on Ubuntu 14.04, with the full OpenJDK 7 installed, and Maven 3.0.5.

I have checked out the source code thusly:

svn co http://svn.apache.org/repos/asf/jspwiki/trunk jspwiki

I then cd into the checked out directory, and run 'mvn package', which as I understand it is supposed to compile, build, and generate a WAR file in one go. Almost 2.5 minutes into the build, it fails with the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project jspwiki-war: There are test failures.
[ERROR]
[ERROR] Please refer to /home/dave/jspwiki/jspwiki-war/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project jspwiki-war: There are test failures.


Within the directory referred to there are a stack of reports with no indication as to which exactly contains the relevant test failure detail. Before I go trawling through these, can someone please let me know if this is the correct way to build JSPWiki, or offer any clues as to what is going wrong here?

Thanks,
Dave




Reply via email to