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

   > Hi @cstamas , what is the plan to identify mvn 4 consumed artifacts to 
switch the impl, using the mvn4 specific pom metadata file? in current state it 
breaks probably too easily IMHO and I didn't find how we enable this behavior 
in the produced pom for the consumed artifact - I don't think it is good to be 
a config prop, it should belong to the pom only to avoid a global toggle which 
will work only under a closed ecosystem.
   
   The consumer has no knowledge.  I also kinda saw that as a problem...
   I wonder if this should be automatically toggled by the modelVersion of the 
root project: if using a 4.1.0 model, then use the new depMgr, if using 4.0.0 
model, use the Maven 3 compatible one....
   This piece can be easily detected very early at boot time and could be used 
to configure the resolver.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to