You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/23 14:35:30 UTC

[jira] Closed: (MPJXR-17) JXR Report isn't generated for tests unless sources exist

Message:

   The following issue has been closed.

   Resolver: Emmanuel Venisse
       Date: Mon, 23 Aug 2004 8:34 AM

Done.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJXR-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJXR-17
    Summary: JXR Report isn't generated for tests unless sources exist
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jxr-plugin
   Fix Fors:
             1.5
   Versions:
             1.4.1

   Assignee: Jason van Zyl
   Reporter: Matt Read

    Created: Thu, 29 Jul 2004 8:41 AM
    Updated: Mon, 23 Aug 2004 8:34 AM

Description:
The JXR report is not generated for tests unless sources exist. I can submit a patch if necessary but the fix is very simple.

1. In plugin.jelly the maven-jxr-plugin:register goal nests <j:if> statements such that test sources report won't be registered unless sources report is registered. Un-nesting these ifs solves half the problem.

2. Exactly the same issue in the maven-jxr-plugin:report goal. Un-nesting the ifs means that you can generate a test report even if sources don't exist.

Motivation:

I have separated out my XP style acceptance tests into a separate sub-project. This sub-project tests the built and deployed system as a whole and doesn't have it's own source.

Matt.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org