GMaven
  1. GMaven
  2. GMAVEN-5

Stubgeneration is incomplete if a linebreak is missing

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: stub generation
    • Labels:
      None
    • Number of attachments :
      0

      Description

      If i have following Groovy-Mojo:

       
      public class MyMojo extends GroovyMojo{
          /**
          * @parameter
          * @required
          */
          String someProperty
      
          void execute(){
              log.info "Do something"
          }
      }
      

      the stubgenerator forget all javadoc comments. This cause the Plugin-Descriptor component to fail, because no descriptor was found, because if the missing comments. If i add a linebreak:

       
      public class MyMojo extends GroovyMojo{
      
          /**
          * @parameter
          * @required
          */
          String someProperty
      
          void execute(){
              log.info "Do something"
          }
      }
      

      all works fine.

        Activity

        Hide
        Jason Dillon added a comment -

        Use 1.7 provider

        Show
        Jason Dillon added a comment - Use 1.7 provider

          People

          • Assignee:
            Unassigned
            Reporter:
            Thorsten Kamann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: