Ndacyayisenga-droid commented on PR #523:
URL: 
https://github.com/apache/maven-dependency-plugin/pull/523#issuecomment-2841064860

   
   
   
   > notice: IIUC, the conflict happens only when stripVersion is enable, isn't 
it? then WARN if not stripVersion, because it warns about 2 groupIds that you 
can't really differentiate and ERROR if this leads to overwrite, as it is 
better to fail the build than keep a silent conflicted file overwritten
   > 
   > WDYT of this behaviour poposal?
   
   @hboutemy this might cause a lot of build failures, especially in cases 
where two different artifacts share the same artifactId.
   I'm not sure. Is it actually valid in Maven for two different artifacts to 
have the same artifactId but different groupIds?.
   
   I tried to reproduce the issue in this projecct 
https://github.com/Ndacyayisenga-droid/mdep-976 (just execute the script).
   
   
   results
   Current version
   ![Screenshot 2025-04-30 at 10 24 
38](https://github.com/user-attachments/assets/3e26029e-69bf-481e-b6dc-74987f09ce38)
   
   For my snapshot
   ![Screenshot 2025-04-30 at 10 22 
11](https://github.com/user-attachments/assets/2c8fb5dc-5969-4e5f-a5be-bf117868db35)
   


-- 
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