[ 
https://issues.apache.org/jira/browse/MNG-6883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17075287#comment-17075287
 ] 

Karl Heinz Marbaise commented on MNG-6883:
------------------------------------------

Don't get me wrong but the method you are mentioning 
{{org.apache.maven.project.MavenProject#getReportArtifacts}} is marked 
deprecated with a commit 
https://github.com/apache/maven/commit/6cf9320942c34bc68205425ab696b1712ace9ba4 
six years ago ...so I wouldn't use the word {{now}} for that. Apart from that 
it's a good point to document what should be used for a deprecated marked 
method etc. 

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

Reply via email to