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

        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
        Michael Osipov made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: