Uploaded image for project: 'Maven Ant Plugin (RETIRED)'
  1. Maven Ant Plugin (RETIRED)
  2. MANT-76

MavenProject/MavenSession Injection as a paremeter instead as a component.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • 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: