Uploaded image for project: 'Maven JXR'
  1. Maven JXR
  2. JXR-95

JXR crashes Maven build with "target/generated-sources/groovy-stubs/main does not exist"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: jxr
    • Labels:
      None
    • Environment:
      Fedora Linux 15, JDK 1.6.0_29
    • Flags:
      Patch

      Description

      Steps to reproduce:

      1. Create a maven project
      2. Add gmaven-plugin into build plugins section.
      3. Add just Groovy tests into the project. Don't add Groovy sources
      4. Execute mvn clean install

      Result: The following error happens

      Embedded error: Error rendering Maven report: Error while generating the HTML source code of the projet. basedir .../target/generated- sources/groovy-stubs/main does not exist

      I would propose making this a warning in the log, not an exception which terminates Maven build.

      Proposed patch is attached.

        Attachments

        1. groovy.diff
          1.0 kB
          Andrey Panasyuk

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              defascat Andrey Panasyuk
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: