Maven 1.x JXR Plugin
  1. Maven 1.x JXR Plugin
  2. MPJXR-17

JXR Report isn't generated for tests unless sources exist

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.4.2
    • Labels:
      None
    • Number of attachments :
      0

      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.

        Activity

        Hide
        Emmanuel Venisse added a comment -

        Done.

        Show
        Emmanuel Venisse added a comment - Done.
        Hide
        Lukas Theussl added a comment -

        reopen to change fix version

        Show
        Lukas Theussl added a comment - reopen to change fix version

          People

          • Assignee:
            Unassigned
            Reporter:
            Matt Read
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: