Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1212

@Component is deprecated. @Parameter should be used instead.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      From Maven Mailinglist
      http://maven.40175.n5.nabble.com/maven-surefire-git-commit-SUREFIRE-refactoring-after-Sonar-report-td5856512.html

      Hi Tibor,

      just noticed this:

      @Component

      • protected MavenSession session;
        + private MavenSession session;

      could you make a @Parameter of it, because the @Component is deprecated.
      See also https://issues.apache.org/jira/browse/MPLUGIN-257
      Actually, I would expect warnings from maven-plugin-plugin about this...

      thanks,
      Robert

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tibordigana Tibor Digana
            tibordigana Tibor Digana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment