You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/03/20 19:23:00 UTC
[jira] [Commented] (MPLUGIN-350) Extend @Parameter with
input/output option
[ https://issues.apache.org/jira/browse/MPLUGIN-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305548#comment-17305548 ]
Robert Scholte commented on MPLUGIN-350:
----------------------------------------
Let's be honest: once a hack is introduced, it will be impossible to remove it. So let's focus on the 80% we do understand and make sure that works.
> Extend @Parameter with input/output option
> ------------------------------------------
>
> Key: MPLUGIN-350
> URL: https://issues.apache.org/jira/browse/MPLUGIN-350
> Project: Maven Plugin Tools
> Issue Type: New Feature
> Reporter: Robert Scholte
> Priority: Major
>
> By knowing if parameters are input or output parameters, it is possible to improve our builds. It will be possible to create DAGs and chain the execution blocks much smarter.
> The Maven Extension created by Gradle heavily relies on this kind of information.
> It is probably easier to use new annotations instead of adding a (required) status-field to @Parameter
> Looking at the {{plugin.xml}} it looks quite easy to solve this and stay backwards compatible: the file looks now like:
> {code:xml}
> <parameters>
> <parameter>
> ...
> </parameter>
> </parameters>
> {code}
> With plexus-magic the following should still work:
> {code:xml}
> <parameters>
> <input>
> ...
> </input>
> <output>
> ...
> </output>
> </parameters>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)