You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/12/28 01:25:49 UTC

[jira] [Updated] (SUREFIRE-1212) @Component is deprecated. @Parameter should be used instead.

     [ https://issues.apache.org/jira/browse/SUREFIRE-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana updated SUREFIRE-1212:
-----------------------------------
    Issue Type: Improvement  (was: Bug)

> @Component is deprecated. @Parameter should be used instead.
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-1212
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1212
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin, Maven Surefire Report Plugin
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>             Fix For: 2.20
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)