You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2023/01/12 12:39:00 UTC
[jira] [Commented] (MPLUGIN-418) Require prerequisites to be set for maven-plugin
[ https://issues.apache.org/jira/browse/MPLUGIN-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17675989#comment-17675989 ]
Slawomir Jaranowski commented on MPLUGIN-418:
---------------------------------------------
There is a rule for enforcer https://maven.apache.org/enforcer/enforcer-rules/requirePrerequisite.html
Rule can be deprecated after it.
> 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)