Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-35

Generated documentation for @phase is misleading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • None
    • None

    Description

      If you have the @phase annotation in your mojo, the generated documentation will look something like: "Automatically executes within the lifecycle phase: validate "

      This is misleading; the goal will not automatically execute - very few goals in Maven do. Instead, you need an <executions> section in your POM. I think it would be clearer to just say "Executes during the lifecycle phase: validate" or something like that.

      Attachments

        1. phase-binding.patch
          0.7 kB
          Benjamin Bentmann

        Activity

          People

            siveton Siveton Vincent
            mbeerman Matthew Beermann
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: