Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-201

MavenProject Injection as a paremeter instead as a component.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.4
    • None
    • None

    Description

      The following:

      @Component
      protected MavenProject project;
      

      has to be replaced by the following:

      @Parameter( defaultValue = "${project}", readonly = true, required = true )
      protected MavenProject project;
      

      The following:

      @Component
      protected MavenSession session;
      

      has to be replaced by the following:

      @Parameter( defaultValue = "${session}", readonly = true, required = true )
      protected MavenSession session;
      

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            khmarbaise Karl Heinz Marbaise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: