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"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.3
    • None
    • jxr
    • None
    • Fedora Linux 15, JDK 1.6.0_29
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: