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

Guillaume Nodet commented on MNG-8371:
--------------------------------------

The ArtifactFactory class was deprecated in Maven 3.0-RC1.
There's a big problem with some of our plugins which still have not migrated to 
the Maven 3 API, even though  [~cstamas] did quite some work on migrating some 
of those old plugins to get rid of those Maven 2 stuff.

We need to change the plugins to always use the latest API version, and run ITs 
with the oldest compatible one.

Anyway, the simple idea with the new API is that plugins can only use 
{{org.apache.maven.api.*}} packages, so I'm not sure it's really worth trying 
to fix the deprecated code.  It would be imho better to migrate them to the new 
API directly.


> 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