Hi Dave,

within that directory you'll see a bunch of txt and xml files, one of each
type for every junit file; the xml ones have the same information as the
txt ones, but they're in different format, so they can be consumed by other
tools.

As for the txt files, you'll see most of them weight about 1k, those are
files corresponding to tests which have ended successfully. You'll surely
have on txt file weighting a little more (say 5 or 6k, it depends on the
test file), which will contain the failing test. It should also appear on
your console, somewhat above the "build failure" message


HTH,
juan pablo






On Tue, Jul 8, 2014 at 5:24 AM, Dave Koelmeyer <
[email protected]> wrote:

> 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