maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (SUREFIRE-1212) @Component is deprecated. @Parameter should be used instead.
Date Fri, 02 Nov 2018 05:21:00 GMT

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

Tibor Digana reopened SUREFIRE-1212:
------------------------------------

> @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)

Mime
View raw message