You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/04/02 18:42:00 UTC

[jira] [Updated] (MNG-6883) MavenProject - replacement for deprecated method

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

Michael Osipov updated MNG-6883:
--------------------------------
    Description: 
The class {{org.apache.maven.project.MavenProject}} has many deprecated methods. There is no information what is the replacement for deprecated methods.

Maybe some of them will be delete and others should be replaced by something else. I think that this knowledge will help to maintain custom plugins in future for developers. 

eg. I need the method 
{{org.apache.maven.project.MavenProject#getReportArtifacts}}
and now it is deprecated ... 

I found that the change which deprecated some methods is connected to MNG-5661.

  was:
Class {{org.apache.maven.project.MavenProjec}} has many deprecated method.

There is no information what is replacement for deprecated method.

Maybe some of them will be delete and another should be replaced by something else. I think that this knowledge will help to maintenance custom plugins in future for developer. 

eg. I need method 
{{org.apache.maven.project.MavenProject#getReportArtifacts}}
and now it is deprecated ... 

I found that change which deprecated some methods is connected with MNG-5661


> MavenProject - replacement for deprecated method
> ------------------------------------------------
>
>                 Key: MNG-6883
>                 URL: https://issues.apache.org/jira/browse/MNG-6883
>             Project: Maven
>          Issue Type: Improvement
>          Components: Design, Patterns &amp; Best Practices, Documentation:  General
>    Affects Versions: 3.5.0
>            Reporter: Slawomir Jaranowski
>            Priority: Major
>
> The class {{org.apache.maven.project.MavenProject}} has many deprecated methods. There is no information what is the replacement for deprecated methods.
> Maybe some of them will be delete and others should be replaced by something else. I think that this knowledge will help to maintain custom plugins in future for developers. 
> eg. I need the method 
> {{org.apache.maven.project.MavenProject#getReportArtifacts}}
> and now it is deprecated ... 
> I found that the change which deprecated some methods is connected to MNG-5661.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)