apache / apache/maven

[MNG-6883] MavenProject - replacement for deprecated method

Open
#8,637 3 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 40m
Merged PRs (30d)
275

Description

**[Slawomir Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)** opened **[MNG-6883](https://issues.apache.org/jira/browse/MNG-6883?redirect=false)** and commented

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.

---

**Affects:** 3.5.0

1 votes, 5 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.