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 2018/11/02 05:21:00 UTC

[jira] [Closed] (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 closed SUREFIRE-1212.
----------------------------------
    Resolution: Fixed

https://gitbox.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=fecadb89606a3013f9bea0999e2c3ad2013412fc

> @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
>            Priority: Major
>             Fix For: 3.0.0-M1
>
>
> 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
(v7.6.3#76005)