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

@Mojo in maven-plugin-annotations does not use the specified value of requiresProject

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0
    • None

    Description

      A mojo defined as:

      @Mojo(name = "sample", requiresProject = false)
      public class SampleMojo extends AbstractMojo
      

      still indicates that it requires a project in the generated plugin descriptor:

      <requiresProject>true</requiresProject>
      

      Attachments

        1. MPLUGIN-205.diff
          0.8 kB
          Joseph Walton

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              joewalton Joseph Walton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: