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

Konrad Windszus commented on MPLUGIN-418:
-----------------------------------------

The failure message should add a hint that the prerequisites element is not 
inherited 
(https://maven.apache.org/ref/3.8.6/maven-model-builder/#inheritance-assembly). 
This is a common case for this error.

> Require prerequisites to be set for maven-plugin
> ------------------------------------------------
>
>                 Key: MPLUGIN-418
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-418
>             Project: Maven Plugin Tools
>          Issue Type: Improvement
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>
> {{project/prerequisites/maven}} should be set in maven-plugin to proper Maven 
> version
> h1. Scenarios
> 1.  no prerequisites 
> -  *build fail*
> 2.  prerequisites present, no maven-plugin-api on classpath 
> - build ok
> 3. prerequisites present,  maven-plugin-api on classpath
> - prerequisites >= maven-plugin-api - build ok
> - prerequisites < maven-plugin-api - *build fail*



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

Reply via email to