rmannibucau commented on PR #240:
URL: 
https://github.com/apache/maven-plugin-tools/pull/240#issuecomment-1891520373

   @laeubi ok, so if I rephrase the questions are IMHO:
   
   1. Do we want to let people go a prefix they didn't anticipate since it will 
fully be part of the exposed UI to the end user (mvn foo:bar) - the fact you 
said you didn't know what to put whereas it was in your doc kind of corroborate 
that part?
   2. For tempting cases where you flag your plugin "plugin", "maven-plugin" 
you were getting an empty prefix which was wrong and must fail by design - it 
really happent (happens :().
   
   So discussion is mainly about 1, I think a warning wouldnt help and an error 
is the right thing to do - warnings tend to be ignored or avoided as an error 
so both cases make it useless so it is either considered ok - half of the cases 
are not as mentionned - so I think error is better for that reason even if it 
means some people will have to explicit the prefix even if the heuristic was 
ok-ish for them (note that rat is one example it was not ok, the `rat` vs 
`apache-rat` prefix is still an issue for most users and highlights point 1 
too).
   
   Hope it helps to follow my reasoning a bit.


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