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

Guillaume Nodet edited comment on MNG-8371 at 1/6/25 6:56 PM:
--------------------------------------------------------------

Can you point at exemples: code in {{/compat/*}} modules is free to use 
deprecated classes.
Code in {{/impl/maven-core}} still needs to be updated to get rid of some old 
classes, especially all the Maven 3 model.

In the case of {{ArtifactFactory}}, we cannot easily move it, as for example, 
we have some deprecated methods in {{MavenProject}} that use it.  And I don't 
think any non-deprecated code depends on it.

But again, I'd not bother cleaning up classes that are not part of Maven 4 api 
or its implementation.  

And there's still a lot of work to be done in maven-core by migrating classes 
to Maven 4 model and services.



was (Author: gnt):
Can you point at exemples: code in {{/compat/*}} modules is free to use 
deprecated classes.
Code in {{/impl/maven-core}} still needs to be updated to get rid of some old 
classes, especially all the Maven 3 model.
In the case of {{ArtifactFactory}}, we cannot easily move it, as for example, 
we have some deprecated methods in {{MavenProject}} that use it.  

But again, I'd not bother cleaning up classes that are not part of Maven 4 api 
or its implementation.  

And there's still a lot of work to be done in maven-core by migrating classes 
to Maven 4 model and services.


> Document Deprecation
> --------------------
>
>                 Key: MNG-8371
>                 URL: https://issues.apache.org/jira/browse/MNG-8371
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Elliotte Rusty Harold
>            Priority: Critical
>
> A lot of classes and methods in the API are deprecated. E.g. ArtifactFactory
> '
> https://maven.apache.org/ref/3.9.9/maven-core/apidocs/org/apache/maven/artifact/factory/ArtifactFactory.html
> However, the deprecation is simply a tag. There's no info on what to replace 
> them with. Add this



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to