[
https://issues.apache.org/jira/browse/MNG-6883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877135#comment-17877135
]
Hans Aikema commented on MNG-6883:
----------------------------------
Bumping the maven API version from 3.1.0 to 3.6.3 in the OWASP DependencyCheck
plugin (to become on-par with current Apache Maven policy to require Maven
3.6.3 as a minimum for new plugin releases) I encountered these deprecations
and see that as of now there is still no clarity on what (if any) replacements
there will be for these deprecated methods. I would appreciate guidance on the
future-proof replacements for getReportArtifacts and getExtensionArtifacts.
> 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.20.10#820010)