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

ASF GitHub Bot commented on MNG-7266:
-------------------------------------

gnodet commented on PR #1487:
URL: https://github.com/apache/maven/pull/1487#issuecomment-2205195453

   > > > > I did investigate again and now I understand what actually happens: 
When I run current reporting plugins wich do _not_ depend on Maven Compat I 
still get CNFE, e.g., RepositorySystem or others because in 
[967d8fc](https://github.com/apache/maven/commit/967d8fc19cbb8a78410ceed70bd91c2e628da813)
 a bunch of classes were moved to Compat and are now gone. What apparantly was 
fine with Maven 3.x is now not possible with Maven 4. If all changes in 
[967d8fc](https://github.com/apache/maven/commit/967d8fc19cbb8a78410ceed70bd91c2e628da813)
 are correct then those plugins aren't compatible with 4 and need a separate 
branch for 4.
   > > > 
   > > > 
   > > > Do you know which class is required and not found ?
   > > 
   > > 
   > > Oh, sorry `RepositorySystem`. For those plugins, a dependency on 
maven-compat needs to be added afaik.
   > 
   > This means that compat cannot be removed for those plugins? How to proceed 
in case?
   
   There are three ways: 
   * add maven-compat dependency to the plugins
   * migrate the plugins to use resolver and require Maven 3.6.x
   * migrate the plugin to 4.x API and require Maven 4.x
   
   The first one, means that we can't just delete the code now, but we can stop 
providing it by default in the Maven distribution.




> Remove maven-compat module
> --------------------------
>
>                 Key: MNG-7266
>                 URL: https://issues.apache.org/jira/browse/MNG-7266
>             Project: Maven
>          Issue Type: Sub-task
>            Reporter: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.0.x-candidate
>
>
> Maven-core does not depend on maven-compat anymore (runtime or compile time). 
>  Do we want to carry it over up to 4.0.0 and delete it in 4.1.0, or do we 
> want to drop it before 4.0.0 ?
> [~cstamas] [~olamy] [~romain.manni-bucau] [~sjaranowski] and others... ?



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

Reply via email to