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 Bug
    • Status: Closed Closed
    • Priority: Minor 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
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      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.

      1. groovy.diff
        1.0 kB
        Andrey Panasyuk

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: