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

ASF GitHub Bot commented on MPLUGIN-522:
----------------------------------------

cstamas commented on PR #282:
URL: 
https://github.com/apache/maven-plugin-tools/pull/282#issuecomment-2097814145

   > I think enforcing and explicitly stating prerequisites is a good thing and 
the default matches for 99% of the cases. For other cases just overwrite with 
explicit values. Not stating prerequisites should no longer be supported 
because it is frustratring for users to figure out the implicit prerequisites 
through trial and error...
   
   Just to repeat myself, the prerequisites are documented, so no need for user 
trial-and-error. This table shows Maven and Java prerequisites clearly:
   
https://maven.apache.org/plugins/maven-jar-plugin/plugin-info.html#system-requirements-history




> The auto prerequisites are way to aggressive
> --------------------------------------------
>
>                 Key: MPLUGIN-522
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-522
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: Plugin Plugin
>            Reporter: Tamas Cservenak
>            Priority: Major
>
> IMHO the implementation done in MPLUGIN-425 and MPLUGIN-424 are wrong.
> They are way too aggresive and violate backward compatibility: if new feature 
> is not explicitly set by user, code should not "come up" with some automatic 
> value. By having the value not set simply means user does not want to use it.
> This is especially true for (maven or java) prerequisite, as it creates HARD 
> BREAKAGE if not met. Use of prerequisite is opt-in, but now it is FORCED onto 
> user.
> [~kwin] 



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

Reply via email to